Skip to content

Commit 6cffd39

Browse files
committed
build config small refactoring
1 parent ffe5c09 commit 6cffd39

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

build.gradle

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,19 @@ repositories {
1414
targetCompatibility = '1.6'
1515
sourceCompatibility = '1.6'
1616

17-
sourceSets {
18-
main.java.srcDirs += 'src/main/kotlin'
19-
test.java.srcDirs += 'src/test/kotlin'
20-
}
21-
2217
dependencies {
23-
compile "org.jetbrains.kotlin:kotlin-stdlib:${plugins.findPlugin("kotlin").properties["kotlinPluginVersion"]}"
18+
compile "org.jetbrains.kotlin:kotlin-stdlib"
2419
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.17"
2520
compile 'com.squareup.retrofit2:retrofit:2.3.0'
2621
testCompile 'junit:junit:4.12'
2722
}
2823

2924
kotlin {
30-
experimental {
31-
coroutines "enable"
32-
}
25+
experimental.coroutines = "enable"
3326
}
3427

3528
jacocoTestReport {
36-
reports {
37-
xml.enabled = true
38-
}
29+
reports.xml.enabled = true
3930
}
4031

4132
tasks["test"].finalizedBy("jacocoTestReport")

0 commit comments

Comments
 (0)