Skip to content

Commit

Permalink
Disable generating of BuildConfig class
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryl Rozau committed Mar 8, 2019
1 parent 0f6a565 commit 62e4730
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions strict-mode-compat-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ dependencies {
api project(":strict-mode-compat")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

tasks.withType(Class.forName("com.android.build.gradle.tasks.GenerateBuildConfig")) {
enabled = false
}
4 changes: 4 additions & 0 deletions strict-mode-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ apply from: 'publish.gradle'
dependencies {
implementation "com.android.support:support-annotations:$androidSupportLib"
}

tasks.withType(Class.forName("com.android.build.gradle.tasks.GenerateBuildConfig")) {
enabled = false
}

0 comments on commit 62e4730

Please sign in to comment.