You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Julian Frumar (JIRA)" <ji...@apache.org> on 2016/07/13 19:40:20 UTC
[jira] [Created] (CB-11572) Removing plugins doesn't remove their
gradle configuration
Julian Frumar created CB-11572:
----------------------------------
Summary: Removing plugins doesn't remove their gradle configuration
Key: CB-11572
URL: https://issues.apache.org/jira/browse/CB-11572
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 6.2.0
Reporter: Julian Frumar
We use the Craslytics (Fabric) plugin in production builds, but in our dev environment we remove the plugin.
Unfortunately, running `cordova plugin rm cordova-fabric-plugin` leaves around it's configuration in build.gradle.
Steps to reproduce:
- Install the fabric plugin (or any plugin that has a gradle config): `cordova plugin add https://github.com/sarriaroman/FabricPlugin.git --variable FABRIC_API_KEY=foo --variable FABRIC_API_SECRET=bar`
- Check your build.gradle. For this particular plugin you'll see:
{code}
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'io.fabric'
// Fabric Cordova Plugin - End Fabric Build Tools
{code}
- Remote the plugin with `cordova plugin rm cordova-fabric-plugin`
- Inspect your build.gradle file again, and you'll still find that existing config at the bottom of the file.
This breaks our development builds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org