Skip to content

Commit 60c6e71

Browse files
committed
Update Kotlin to 1.6.20 and release
1 parent e26b3e1 commit 60c6e71

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Add dependency to your module's `build.gradle` file:
9797
```Groovy
9898
dependencies {
9999
// ...
100-
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing:1.4.7'
100+
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing:1.4.8'
101101
}
102102
```
103103

@@ -109,7 +109,7 @@ Kotlin-Compile-Testing is compatible with all _local_ compiler versions. It does
109109

110110
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.
111111

112-
- Current `kotlin-compiler-embeddable` version: `1.6.10`
112+
- Current `kotlin-compiler-embeddable` version: `1.6.20`
113113

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

@@ -121,7 +121,7 @@ To test KSP processors, you need to use the KSP dependency:
121121

122122
```Groovy
123123
dependencies {
124-
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.7'
124+
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.8'
125125
}
126126
```
127127

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext.kotlin_version = '1.6.20'
3-
ext.embedded_kotlin_version = '1.6.20-M1'//'1.6.20-M1-1.0.2'
3+
ext.embedded_kotlin_version = '1.6.20'
44

55
repositories {
66
mavenCentral()

core/src/main/kotlin/com/tschuchort/compiletesting/AbstractKotlinCompilation.kt

+1
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ abstract class AbstractKotlinCompilation<A : CommonCompilerArguments> internal c
273273

274274
internal fun convertKotlinExitCode(code: ExitCode) = when(code) {
275275
ExitCode.OK -> KotlinCompilation.ExitCode.OK
276+
ExitCode.OOM_ERROR,
276277
ExitCode.INTERNAL_ERROR -> KotlinCompilation.ExitCode.INTERNAL_ERROR
277278
ExitCode.COMPILATION_ERROR -> KotlinCompilation.ExitCode.COMPILATION_ERROR
278279
ExitCode.SCRIPT_EXECUTION_ERROR -> KotlinCompilation.ExitCode.SCRIPT_EXECUTION_ERROR

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kotlin.incremental=false
44
kapt.include.compile.classpath=false
55

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

0 commit comments

Comments
 (0)