mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Upgrade to Kotlin 1.6 + always instantiate annotations (#1425)
This commit is contained in:
@@ -37,6 +37,7 @@ tasks.withType<KotlinCompile>().configureEach {
|
||||
}
|
||||
}
|
||||
|
||||
// --add-opens for kapt to work. KGP covers this for us but local JVMs in tests do not
|
||||
tasks.withType<Test>().configureEach {
|
||||
jvmArgs(
|
||||
"--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
|
||||
|
Reference in New Issue
Block a user