diff --git a/build.gradle.kts b/build.gradle.kts index 43ba936dc5..53a737c69a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -121,8 +121,4 @@ 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 f7cc473348..fb20321428 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() + sourceToOutputsMap.flush(false) } private fun updateOutputs(outputs: Set, cleanOutputs: Collection) { @@ -474,15 +474,15 @@ class IncrementalContext( update(symbolsMap, updatedSymbols) remove(symbolsMap, removed) } else { - symbolsMap.clear() + symbolsMap.clean() update(symbolsMap, updatedSymbols) - sealedMap.clear() + sealedMap.clean() update(sealedMap, updatedSealed) } - symbolsMap.flush() + symbolsMap.flush(false) symbolsMap.close() - sealedMap.flush() + sealedMap.flush(false) sealedMap.close() } diff --git a/gradle.properties b/gradle.properties index 465631c58d..702717f109 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-6573 +kotlinBaseVersion=2.0.0-dev-4562 agpBaseVersion=7.0.0 intellijVersion=213.7172.25 junitVersion=4.13.1