File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
import kotlinx.kover.gradle.plugin.dsl.MetricType
7
+ import org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
7
8
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
8
9
import org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
9
10
@@ -27,11 +28,19 @@ subprojects {
27
28
kotlinOptions {
28
29
allWarningsAsErrors = true
29
30
freeCompilerArgs + = " -Xjvm-default=all"
31
+ freeCompilerArgs + = " -Xexpect-actual-classes"
30
32
}
31
33
}
32
34
tasks.withType<KotlinNativeCompile >().configureEach {
33
35
kotlinOptions {
34
36
allWarningsAsErrors = true
37
+ freeCompilerArgs + = " -Xexpect-actual-classes"
38
+ }
39
+ }
40
+ tasks.withType<KotlinJsCompile >().configureEach {
41
+ kotlinOptions {
42
+ allWarningsAsErrors = true
43
+ freeCompilerArgs + = " -Xexpect-actual-classes"
35
44
}
36
45
}
37
46
}
You can’t perform that action at this time.
0 commit comments