summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-03-28 17:29:08 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-03-28 17:42:07 +0530
commitfcb7caed2381eee4cbc69fc506dfa6f676fadf13 (patch)
treeeaa28127565860f2b9949ebe8398f01d4179a1a6
parentc7d1c4baba2ccaf955e5bc55660663ac98c769df (diff)
gradle: opt into new publishing APIs
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--gradle.properties2
-rw-r--r--tunnel/build.gradle5
2 files changed, 7 insertions, 0 deletions
diff --git a/gradle.properties b/gradle.properties
index 3efc9b38..2ecf213a 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -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
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index 54ef4d91..9a5c6d63 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -47,6 +47,11 @@ android {
lint {
disable 'LongLogTag', 'NewApi'
}
+ publishing {
+ multipleVariants("release") {
+ allVariants()
+ }
+ }
}
dependencies {