File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ buildscript {
7
7
dependencies {
8
8
classpath " com.android.tools.build:gradle:${ providers.systemProperty("agpVersion").forUseAtConfigurationTime().orNull ?: '4.2.0-beta03'} "
9
9
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
10
- classpath " com.uber:okbuck:0.52.0"
10
+ if ((providers. systemProperty(' okbuck.wrapper' ). forUseAtConfigurationTime(). orNull ?: ' false' ). toBoolean()) {
11
+ classpath " com.uber:okbuck:0.52.0"
12
+ }
11
13
}
12
14
}
13
15
plugins {
@@ -18,6 +20,14 @@ allprojects {
18
20
google()
19
21
jcenter()
20
22
}
23
+ // Disable unused build variants
24
+ plugins. withType(com.android.build.gradle.BasePlugin ) {
25
+ android. variantFilter { variant ->
26
+ if (variant. name != ' debug' ) {
27
+ variant. ignore = true
28
+ }
29
+ }
30
+ }
21
31
}
22
32
task clean (type : Delete ) {
23
33
delete rootProject. buildDir
You can’t perform that action at this time.
0 commit comments