Skip to content

Commit cc268ee

Browse files
committed
UPDATE_KOTLIN_VERSION: 2.0.0-dev-6573
(cherry picked from commit 3675199)
1 parent 8d7bb6a commit cc268ee

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,8 @@ subprojects {
121121
}
122122
)
123123
}
124+
125+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
126+
compilerOptions.freeCompilerArgs.add("-Xskip-prerelease-check")
127+
}
124128
}

compiler-plugin/src/main/kotlin/com/google/devtools/ksp/Incremental.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class IncrementalContext(
411411

412412
logSourceToOutputs(outputs, sourceToOutputs)
413413

414-
sourceToOutputsMap.flush(false)
414+
sourceToOutputsMap.flush()
415415
}
416416

417417
private fun updateOutputs(outputs: Set<File>, cleanOutputs: Collection<File>) {
@@ -474,15 +474,15 @@ class IncrementalContext(
474474
update(symbolsMap, updatedSymbols)
475475
remove(symbolsMap, removed)
476476
} else {
477-
symbolsMap.clean()
477+
symbolsMap.clear()
478478
update(symbolsMap, updatedSymbols)
479479

480-
sealedMap.clean()
480+
sealedMap.clear()
481481
update(sealedMap, updatedSealed)
482482
}
483-
symbolsMap.flush(false)
483+
symbolsMap.flush()
484484
symbolsMap.close()
485-
sealedMap.flush(false)
485+
sealedMap.flush()
486486
sealedMap.close()
487487
}
488488

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copied from kotlinc
22
org.gradle.jvmargs=-Duser.country=US -Dkotlin.daemon.jvm.options=-Xmx2200m -Dfile.encoding=UTF-8
33

4-
kotlinBaseVersion=2.0.0-dev-4562
4+
kotlinBaseVersion=2.0.0-dev-6573
55
agpBaseVersion=7.0.0
66
intellijVersion=213.7172.25
77
junitVersion=4.13.1

0 commit comments

Comments
 (0)