Skip to content

Commit

Permalink
Run K2 using 2.0.0-Beta2 (#3327)
Browse files Browse the repository at this point in the history
* Run K2 using 2.0.0-Beta2

* Also use correct KSP version
  • Loading branch information
serras committed Dec 20, 2023
1 parent a4c4053 commit a685f01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
- name: jvmTest (K2 enabled)
uses: gradle/gradle-build-action@v2
with:
arguments: "jvmTest -Pkotlin_version=2.0.0-dev-7674 -Pkotlin_repo_url=https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap -Pkotlin_language_version=2.0 -Pkotlin_api_version=2.0"
arguments: "jvmTest -Pkotlin_version=2.0.0-Beta2 -Pksp_version=2.0.0-Beta2-1.0.16 -Pkotlin_language_version=2.0 -Pkotlin_api_version=2.0"

- name: Upload reports
if: failure()
Expand Down
5 changes: 5 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ plugins {
dependencyResolutionManagement {
@Suppress("LocalVariableName") val kotlin_repo_url: String? by settings
@Suppress("LocalVariableName") val kotlin_version: String? by settings
@Suppress("LocalVariableName") val ksp_version: String? by settings

repositories {
mavenCentral()
Expand All @@ -33,6 +34,10 @@ dependencyResolutionManagement {
println("Overriding Kotlin version with $kotlin_version")
version("kotlin", kotlin_version!!)
}
if (!ksp_version.isNullOrBlank()) {
println("Overriding KSP version with $ksp_version")
version("kspVersion", ksp_version!!)
}
}
}
}
Expand Down

0 comments on commit a685f01

Please sign in to comment.