Skip to content

Commit

Permalink
SONARKT-398 Upgrade Kotlin compiler to 2.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin authored Sep 30, 2024
1 parent bf01a3d commit 4c55f12
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ group=org.sonarsource.kotlin
version=2.21-SNAPSHOT
description=Code Analyzer for Kotlin
projectTitle=Kotlin
kotlinVersion=1.9.21
kotlinVersion=2.0.20
org.gradle.jvmargs=-Xmx4096M
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import android.os.CancellationSignal
import android.hardware.biometrics.BiometricPrompt as BiometricPromptAndroid
import androidx.biometric.BiometricPrompt as BiometricPromptAndroidX

val promptInfo = androidx.biometric.BiometricPrompt.PromptInfo()
val promptInfo = BiometricPromptAndroidX.PromptInfo()

fun android() {
val biometricPrompt = BiometricPromptAndroid()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fun analyzeAndGetBindingContext(
TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(
env.project,
ktFiles,
NoScopeRecordCliBindingTrace(),
NoScopeRecordCliBindingTrace(env.project),
env.configuration,
env::createPackagePartProvider,
::FileBasedDeclarationProviderFactory
Expand Down
2 changes: 1 addition & 1 deletion sonar-kotlin-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ tasks.shadowJar {
exclude("org/jetbrains/kotlin/org/jline/**")
exclude("org/jetbrains/kotlin/net/jpountz/**")
doLast {
enforceJarSizeAndCheckContent(shadowJar.get().archiveFile.get().asFile, 39_200_000L, 39_700_000L)
enforceJarSizeAndCheckContent(shadowJar.get().archiveFile.get().asFile, 38_100_000L, 38_600_000L)
}
}

Expand Down

0 comments on commit 4c55f12

Please sign in to comment.