Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 8006d17

Browse files
committed
使用 -Xjvm-default=all-compatibility 实现 JvmDefault
1 parent e9dde09 commit 8006d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/Extensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ inline fun <reified T : BaseExtension> Project.setupBase(
118118
compileOptions.incremental = true
119119
kotlinOptions {
120120
freeCompilerArgs = listOf(
121-
"-Xjvm-default=compatibility"
121+
"-Xjvm-default=all-compatibility"
122122
)
123123
}
124124
lintOptions {

0 commit comments

Comments
 (0)