File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 44androidx-compose-compiler = " 1.5.4-dev-k1.9.20-Beta2-ac5f960bdaf"
55androidx-compose-runtime = " 1.5.4"
66kotlin = " 1.9.20-Beta2"
7- kotlinCompileTesting = " 1.5.0"
7+ # If this ends with "-local", we use a checked-in jar instead of the public artifact:
8+ kotlinCompileTesting = " 1.5.1-pr394-local"
89kotlinCompileTestingFork = " 0.3.2"
910# https://github.com/google/ksp/releases:
1011ksp = " 1.9.20-Beta2-1.0.13"
Original file line number Diff line number Diff line change @@ -20,10 +20,21 @@ dependencies {
2020
2121 testImplementation(project(" :poko-annotations" ))
2222 testImplementation(libs.kotlin.embeddableCompiler)
23- testImplementation(libs.kotlin.compileTesting)
2423 testImplementation(libs.junit)
2524 testImplementation(libs.assertk)
2625 testImplementation(libs.testParameterInjector)
26+ val kctVersion = libs.versions.kotlinCompileTesting.get()
27+ if (kctVersion.endsWith(" -local" )) {
28+ // Include the local KCT jar and its copied dependencies
29+ val kctName = libs.kotlin.compileTesting.get().name
30+ testImplementation(files(" libs/$kctName -$kctVersion .jar" ))
31+ // Copied from KCT's build.gradle:
32+ testImplementation(" com.squareup.okio:okio:3.3.0" )
33+ testImplementation(" io.github.classgraph:classgraph:4.8.158" )
34+ testImplementation(" org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:${libs.versions.kotlin.get()} " )
35+ } else {
36+ testImplementation(libs.kotlin.compileTesting)
37+ }
2738}
2839
2940tasks.withType<KotlinCompile >().configureEach {
You can’t perform that action at this time.
0 commit comments