The pom files generated by uploadArchives are missing dependencies. This
results in compilation failures.
I used gradle-plugin 0.13.3 and modified each build.gradle to have newer
(at the time I write this) tools:
android {
compileSdkVersion 21
buildToolsVersion '21.0.1'
}
The mavenLocal example contains 4 projects with the following dependency
app -> library -> baseLibrary -> util
in util: $uploadArchives (OK)
in baseLibrary: $ gradle uploadArchives (OK)
in library: $ gradle uploadArchives (FAIL)
... compilation errors indicating the Person class from util were not found.
When I inspected the pom for baseLib, dependencies were missing:
?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>com.example.android.multiproject</groupId>
<artifactId>baseLib</artifactId>
<version>1.0</version>
<packaging>aar</packaging>
</project>
Maybe I am doing something wrong?
--
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.