Skip to content

Commit ac60a5b

Browse files
committed
Build: Optimize kotlin compile import for root level build gradle file
1 parent 2cb515d commit ac60a5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
13
plugins {
24
id "com.automattic.android.fetchstyle"
35
id "io.gitlab.arturbosch.detekt"
@@ -103,7 +105,7 @@ allprojects {
103105
debug = false
104106
}
105107

106-
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
108+
tasks.withType(KotlinCompile).all {
107109
kotlinOptions {
108110
jvmTarget = JavaVersion.VERSION_1_8
109111
}

0 commit comments

Comments
 (0)