mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor(build): Introduce AndroidLibraryFlavors convention plugin (#4449)
This commit is contained in:
parent
854eff685e
commit
3eefa801d6
13 changed files with 60 additions and 79 deletions
|
|
@ -39,14 +39,14 @@ configure<LibraryExtension> {
|
|||
|
||||
testOptions { unitTests { isIncludeAndroidResources = true } }
|
||||
|
||||
publishing { singleVariant("googleRelease") { withSourcesJar() } }
|
||||
publishing { singleVariant("release") { withSourcesJar() } }
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("googleRelease") {
|
||||
from(components["googleRelease"])
|
||||
create<MavenPublication>("release") {
|
||||
from(components["release"])
|
||||
artifactId = "core-model"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue