Skip to content

Commit

Permalink
UPDATE_KOTLIN_VERSION: 2.0.0-dev-6573
Browse files Browse the repository at this point in the history
(cherry picked from commit 3675199)
  • Loading branch information
ting-yuan committed Nov 27, 2023
1 parent 8d7bb6a commit cc268ee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,8 @@ subprojects {
}
)
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
compilerOptions.freeCompilerArgs.add("-Xskip-prerelease-check")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ class IncrementalContext(

logSourceToOutputs(outputs, sourceToOutputs)

sourceToOutputsMap.flush(false)
sourceToOutputsMap.flush()
}

private fun updateOutputs(outputs: Set<File>, cleanOutputs: Collection<File>) {
Expand Down Expand Up @@ -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()
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cc268ee

Please sign in to comment.