gradle: opt into new publishing APIs

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya committed 2023-03-28 17:42:07 +05:30
1 parent c7d1c4baba
commit fcb7caed23
2 files changed
+7

No files matched your search

+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 {