Skip to content

Commit fcb7cae

Browse files
committed
gradle: opt into new publishing APIs
Signed-off-by: Harsh Shandilya <[email protected]>
1 parent c7d1c4b commit fcb7cae

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ android.generateManifestClass=true
4242
android.experimental.enableSourceSetPathsMap=true
4343
# Use relative paths for better Gradle caching of library build tasks
4444
android.experimental.cacheCompileLibResources=true
45+
# Disable automatic creation of publishing components
46+
android.disableAutomaticComponentCreation=true
4547

4648
# Default Android build features
4749
# Disable BuildConfig generation by default

tunnel/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ android {
4747
lint {
4848
disable 'LongLogTag', 'NewApi'
4949
}
50+
publishing {
51+
multipleVariants("release") {
52+
allVariants()
53+
}
54+
}
5055
}
5156

5257
dependencies {

0 commit comments

Comments
 (0)