gradle: opt into new publishing APIs

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2023-03-28 17:42:07 +05:30
parent c7d1c4baba
commit fcb7caed23
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ android.generateManifestClass=true
android.experimental.enableSourceSetPathsMap=true
# Use relative paths for better Gradle caching of library build tasks
android.experimental.cacheCompileLibResources=true
# Disable automatic creation of publishing components
android.disableAutomaticComponentCreation=true
# Default Android build features
# Disable BuildConfig generation by default
+5
View File
@@ -47,6 +47,11 @@ android {
lint {
disable 'LongLogTag', 'NewApi'
}
publishing {
multipleVariants("release") {
allVariants()
}
}
}
dependencies {