File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
kotlin-compile-testing-extensions
src/main/kotlin/com/bennyhuo/kotlin/compiletesting/extensions/module Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 6
6
.cxx
7
7
.externalNativeBuild
8
8
out
9
+ .kotlin
Original file line number Diff line number Diff line change 1
1
plugins {
2
- kotlin(" jvm" ) version " 1.9.20 " apply false
2
+ kotlin(" jvm" ) version " 2.0.0 " apply false
3
3
id(" org.jetbrains.dokka" ) version " 1.9.0" apply false
4
4
id(" com.vanniktech.maven.publish" ) version " 0.22.0" apply false
5
5
}
Original file line number Diff line number Diff line change 20
20
# Android configuration
21
21
22
22
GROUP =com.bennyhuo.kotlin
23
- VERSION_NAME =1.9.20 -1.3.0
23
+ VERSION_NAME =2.0.0 -1.3.0
24
24
POM_ARTIFACT_ID =kotlin-compile-testing-extensions
25
25
26
26
POM_NAME =kotlin-compile-testing-extensions
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ plugins {
4
4
}
5
5
6
6
dependencies {
7
- api(" dev.zacsweers.kctfork:core:0.4 .0" )
8
- api(" dev.zacsweers.kctfork:ksp:0.4 .0" )
7
+ api(" dev.zacsweers.kctfork:core:0.5 .0" )
8
+ api(" dev.zacsweers.kctfork:ksp:0.5 .0" )
9
9
10
- api(" com.google.devtools.ksp:symbol-processing-api:1.9.20 -1.0.14 " )
10
+ api(" com.google.devtools.ksp:symbol-processing-api:2.0.0 -1.0.22 " )
11
11
12
12
implementation(kotlin(" test-common" ))
13
13
implementation(kotlin(" test-annotations-common" ))
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import com.tschuchort.compiletesting.JvmCompilationResult
12
12
import com.tschuchort.compiletesting.KotlinCompilation
13
13
import com.tschuchort.compiletesting.SourceFile
14
14
import com.tschuchort.compiletesting.kspArgs
15
+ import com.tschuchort.compiletesting.kspProcessorOptions
15
16
import com.tschuchort.compiletesting.kspSourcesDir
16
17
import com.tschuchort.compiletesting.symbolProcessorProviders
17
18
import org.jetbrains.kotlin.compiler.plugin.CompilerPluginRegistrar
@@ -64,8 +65,8 @@ class KotlinModule(
64
65
65
66
private val kspCompilation = if (symbolProcessorProviders.isNotEmpty()) {
66
67
newCompilation {
67
- this .symbolProcessorProviders = symbolProcessorProviders.distinctBy { it.javaClass }.toList ()
68
- this .kspArgs .putAll(kspArgs)
68
+ this .symbolProcessorProviders = symbolProcessorProviders.distinctBy { it.javaClass }.toMutableList ()
69
+ this .kspProcessorOptions .putAll(kspArgs)
69
70
}
70
71
} else {
71
72
null
You can’t perform that action at this time.
0 commit comments