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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to