android-maven-gradle-plugin
android-maven-gradle-plugin copied to clipboard
In multi-project build, POM for a project contains original name of dependency, instead of new one
Working Situation:
- I have 2 projects in my repo (project
A
& projectB
) - The project A has a transient dependency on project B.
- So when I generate POM file per following config, in POM file for package A, I see package name B as a dependency
Problem:
- However, if I rename
archivesBaseName
for both as "foo" and "bar" respectively - In POM file for package
foo
, I still see packageB
as a dependency, instead of packagebar
- Am I missing anything in following config ?
I am setting up POM file as follows:
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
artifactId "${project.property("archivesBaseName")}"
description 'This is my POM config'
}
}
}
}
I am using following plugins:
- `com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.3`
- `com.github.dcendents:android-maven-gradle-plugin:2.1`
android gradle build tools = 3.1.0 gradle = 4.6