Skip to content

Commit 2ce6ca1

Browse files
committed
Release 1.4.4
1 parent 52fcf37 commit 2ce6ca1

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

README.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,25 @@ class TestEnvClass {}
2525

2626
@Test
2727
fun `test my annotation processor`() {
28-
val kotlinSource = SourceFile.kotlin("KClass.kt", """
28+
val kotlinSource = SourceFile.kotlin(
29+
"KClass.kt", """
2930
class KClass {
3031
fun foo() {
3132
// Classes from the test environment are visible to the compiled sources
3233
val testEnvClass = TestEnvClass()
3334
}
3435
}
35-
""")
36-
37-
val javaSource = SourceFile.java("JClass.java", """
36+
"""
37+
)
38+
39+
val javaSource = SourceFile.java(
40+
"JClass.java", """
3841
public class JClass {
3942
public void bar() {
4043
// compiled Kotlin classes are visible to Java sources
4144
KClass kClass = new KClass();
4245
}
43-
}
46+
}
4447
""")
4548
```
4649
Configure compilation
@@ -95,7 +98,7 @@ Add dependency to your module's `build.gradle` file:
9598
```Groovy
9699
dependencies {
97100
// ...
98-
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing:1.4.3'
101+
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing:1.4.4'
99102
}
100103
```
101104

@@ -107,7 +110,7 @@ Kotlin-Compile-Testing is compatible with all _local_ compiler versions. It does
107110

108111
However, if your project or any of its dependencies depend directly on compiler artifacts such as `kotlin-compiler-embeddable` or `kotlin-annotation-processing-embeddable` then they have to be the same version as the one used by Kotlin-Compile-Testing or there will be a transitive dependency conflict.
109112

110-
- Current `kotlin-compiler-embeddable` version: `1.5.21`
113+
- Current `kotlin-compiler-embeddable` version: `1.5.30`
111114

112115
Because the internal APIs of the Kotlin compiler often change between versions, we can only support one `kotlin-compiler-embeddable` version at a time.
113116

@@ -119,7 +122,7 @@ To test KSP processors, you need to use the KSP dependency:
119122

120123
```Groovy
121124
dependencies {
122-
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.3'
125+
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.4'
123126
}
124127
```
125128

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kotlin.code.style=official
33
kotlin.incremental=false
44

55
GROUP=com.github.tschuchortdev
6-
VERSION_NAME=1.4.4-SNAPSHOT
6+
VERSION_NAME=1.4.4
77
POM_DESCRIPTION=A library that enables testing of Kotlin annotation processors, compiler plugins and code generation.
88
POM_INCEPTION_YEAR=2019
99
POM_URL=https\://github.com/tschuchortdev/kotlin-compile-testing

0 commit comments

Comments
 (0)