Skip to content

Commit 606df12

Browse files
mikehardyBrayanDSO
authored andcommitted
1 parent 69bf3f9 commit 606df12

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@ subprojects {
8585
}
8686

8787
/**
88-
Kotlin allows concrete function implementations inside interfaces.
89-
For those to work when Kotlin compilation targets the JVM backend, you have to enable the interoperability via
90-
'freeCompilerArgs' in your gradle file, and you have to choose one of the appropriate '-Xjvm-default' modes.
91-
92-
https://kotlinlang.org/docs/java-to-kotlin-interop.html#default-methods-in-interfaces
93-
94-
and we used "all" because we don't have downstream consumers
95-
https://docs.gradle.org/current/userguide/task_configuration_avoidance.html
96-
9788
Related to ExperimentalCoroutinesApi: this opt-in is added to enable usage of experimental
9889
coroutines API, this targets all project modules with the exception of the "api" module,
9990
which doesn't use coroutines so the annotation isn't not available. This would normally
@@ -104,7 +95,6 @@ subprojects {
10495
compilerOptions {
10596
allWarningsAsErrors = fatalWarnings
10697
val compilerArgs = mutableListOf(
107-
"-Xjvm-default=all",
10898
// https://youtrack.jetbrains.com/issue/KT-73255
10999
// Apply @StringRes to both constructor params and generated properties
110100
"-Xannotation-default-target=param-property"

0 commit comments

Comments
 (0)