From fcb7caed2381eee4cbc69fc506dfa6f676fadf13 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 28 Mar 2023 17:29:08 +0530 Subject: [PATCH] gradle: opt into new publishing APIs Signed-off-by: Harsh Shandilya --- gradle.properties | 2 ++ tunnel/build.gradle | 5 +++++ 2 files changed, 7 insertions(+) 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 {