diff --git a/build.gradle.kts b/build.gradle.kts index 53a737c69a..43ba936dc5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -121,4 +121,8 @@ subprojects { } ) } + + tasks.withType().configureEach { + compilerOptions.freeCompilerArgs.add("-Xskip-prerelease-check") + } } diff --git a/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/Incremental.kt b/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/Incremental.kt index fb20321428..f7cc473348 100644 --- a/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/Incremental.kt +++ b/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/Incremental.kt @@ -411,7 +411,7 @@ class IncrementalContext( logSourceToOutputs(outputs, sourceToOutputs) - sourceToOutputsMap.flush(false) + sourceToOutputsMap.flush() } private fun updateOutputs(outputs: Set, cleanOutputs: Collection) { @@ -474,15 +474,15 @@ class IncrementalContext( update(symbolsMap, updatedSymbols) remove(symbolsMap, removed) } else { - symbolsMap.clean() + symbolsMap.clear() update(symbolsMap, updatedSymbols) - sealedMap.clean() + sealedMap.clear() update(sealedMap, updatedSealed) } - symbolsMap.flush(false) + symbolsMap.flush() symbolsMap.close() - sealedMap.flush(false) + sealedMap.flush() sealedMap.close() } diff --git a/gradle.properties b/gradle.properties index 702717f109..465631c58d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # Copied from kotlinc org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8 -kotlinBaseVersion=2.0.0-dev-4562 +kotlinBaseVersion=2.0.0-dev-6573 agpBaseVersion=7.0.0 intellijVersion=213.7172.25 junitVersion=4.13.1