I filed http://b.android.com/228029 and will look into it. Thanks!

On Thursday, November 17, 2016 at 5:12:10 PM UTC, Tomáš Procházka wrote:
>
> Normally when I deploy Android AA library to the maven artifactory pom.xml 
> contains aar element. But when I need to deploy more variant of the library 
> with more classifiers by this config:
>
> android {
>     compileSdkVersion 25
>     buildToolsVersion "25.0.0"
>     defaultConfig {
>         minSdkVersion 15
>         targetSdkVersion 25
>     }
>
>     publishNonDefault true
>
>     productFlavors {
>         oem
>         vanilla
>     }
> }
>
>
> It correctly generate
>
> test-library-1.0.0-SNAPSHOT.pom
> test-library-1.0.0-SNAPSHOT-oemDebug.aar
> test-library-1.0.0-SNAPSHOT-oemRelease.aar
> test-library-1.0.0-SNAPSHOT-vanillaDebug.aar
> test-library-1.0.0-SNAPSHOT-vanillaRelease.aar
>
>
> But the "aar" is missing in the generated pom file.
>
> Then is necessary specify @aar manually in the project where is library 
> used and also transitive=true is necessary, it makes hell from the 
> dependencies.
>
>
> It is problem in the android gradle plugin itself?
>
>
> According the gradle documentation
>
>
> https://docs.gradle.org/current/userguide/maven_plugin.html#sec:maven_pom_generation
>
> Is pacaginng element defined by value of archiveTask.extension
> But I didn't  found this task yet.
>
>

-- 
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 adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to