android-maven-gradle-plugin
android-maven-gradle-plugin copied to clipboard
Missing "<packaging>aar</packaging>" on multi flavor libraries with "publishNonDefault true"
Normally when I deploy Android AA library to the maven artifactory pom.xml contains
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
archivesBaseName = 'test-library'
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 "
I'm not use if problem is in this library or in the android build plugin. I'm just trying to find solution.
check #11