[samples] Fix coverage sample compilation

This commit is contained in:
Sergey Bogolepov
2020-09-16 11:58:22 +07:00
committed by Sergey Bogolepov
parent da2a2b73e9
commit fed14c4e60
+5 -5
View File
@@ -5,11 +5,6 @@ plugins {
}
kotlin {
sourceSets {
val commonMain by getting
val commonTest by getting
}
// Determine host preset.
val hostOs = System.getProperty("os.name")
val isMingwX64 = hostOs.startsWith("Windows")
@@ -30,6 +25,11 @@ kotlin {
freeCompilerArgs += listOf("-Xlibrary-to-cover=${compilations["main"].output.classesDirs.singleFile.absolutePath}")
}
}
sourceSets {
val commonMain by getting
val commonTest by getting
}
}
tasks.create("createCoverageReport") {