I'm following up with the Gradle dev to see what's up. While we have made changes in our plugin we are not explicitly removing the dependencies if you modify the pom in your build.gradle file, so it looks like we are somehow trigger an issue in Gradle.
In the mean time, I'd try to find a way to not modify the pom through the Upload task. On Mon, Mar 17, 2014 at 12:50 AM, Renzo Fernando Crisóstomo Medina < [email protected]> wrote: > Yes, I'm publishing these myself with Gradle. I just checked, before the > upgrade this was the generated pom: > > <?xml version="1.0" encoding="UTF-8"?> > <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns=" > http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <modelVersion>4.0.0</modelVersion> > <groupId>no.sysco</groupId> > <artifactId>vigiloandroidlibrary</artifactId> > <version>1.0.22-SNAPSHOT</version> > <packaging>aar</packaging> > <name>library</name> > <dependencies> > <dependency> > <groupId>no.sysco</groupId> > <artifactId>syscobasecontainer</artifactId> > <version>1.2</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>no.sysco</groupId> > <artifactId>syscotouchgallery</artifactId> > <version>1.1</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>com.google.android.gms</groupId> > <artifactId>play-services</artifactId> > <version>4.2.42</version> > <scope>compile</scope> > </dependency> > </dependencies> > </project> > > But now, it's lacking the transitive dependencies: > > <?xml version="1.0" encoding="UTF-8"?> > <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns=" > http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <modelVersion>4.0.0</modelVersion> > <groupId>no.sysco</groupId> > <artifactId>vigiloandroidlibrary</artifactId> > <version>1.0.6</version> > <packaging>aar</packaging> > <name>library</name> > </project> > > I haven't had a problem with the 0.8 plugin and I haven't upgrade my > Gradle installation to 1.11. > > On Friday, March 14, 2014 9:33:20 AM UTC+1, Renzo Fernando Crisóstomo > Medina wrote: > >> I'm having problems with transitive dependencies since upgrading to 0.9.+ >> and 0.5.1. Is anyone having the same issue? I had solved this temporally by >> re-adding the dependencies, something like this: >> >> Dependencies on .aar artifact: >> >> dependencies { >> compile fileTree(dir: 'libs', include: ['*.jar', '*.aar']) >> compile ('com.android.support:support-v4:19.0.1') >> compile ('no.sysco:syscoabslibrary:4.1.2') >> compile ('no.sysco:syscodrawerlibrary:1.2') >> } >> >> Dependencies on other library project: >> >> dependencies { >> compile fileTree(dir: 'libs', include: ['*.jar', '*.aar']) >> compile ('no.sysco:syscobasecontainer:1.3') >> compile ('no.sysco:syscotouchgallery:1.2') >> compile ('no.sysco:syscoabslibrary:4.1.2') // <- this one is a >> transitive dependencies and is duplicated. >> compile ('no.sysco:syscodrawerlibrary:1.2') // <- this one is a >> transitive dependencies and is duplicated. >> compile ('com.google.android.gms:play-services:4.2.42') >> } >> >> If I don't duplicate the dependencies, it won't compile. >> > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
