From 0498fb7b6bf738cd6e387e8d997d319cd4c2a22e Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Sun, 11 Feb 2018 20:57:29 -0500 Subject: [PATCH] Disable BuildConfig generation. --- rxandroid/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rxandroid/build.gradle b/rxandroid/build.gradle index 6a62dcce..dd931024 100644 --- a/rxandroid/build.gradle +++ b/rxandroid/build.gradle @@ -29,6 +29,11 @@ android { sourceCompatibility rootProject.ext.sourceCompatibility targetCompatibility rootProject.ext.sourceCompatibility } + + // TODO replace with https://issuetracker.google.com/issues/72050365 once released. + libraryVariants.all { + it.generateBuildConfig.enabled = false + } } dependencies {