Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Kotlin 1.7.0 and release #283

Merged
merged 2 commits into from Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -97,7 +97,7 @@ Add dependency to your module's `build.gradle` file:
```Groovy
dependencies {
// ...
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing:1.4.8'
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing:1.4.9'
}
```

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

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.

- Current `kotlin-compiler-embeddable` version: `1.6.20`

- Current `kotlin-compiler-embeddable` version: `1.7.0`

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

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

```Groovy
dependencies {
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.8'
testImplementation 'com.github.tschuchortdev:kotlin-compile-testing-ksp:1.4.9'
}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
@@ -1,6 +1,6 @@
buildscript {
ext.kotlin_version = '1.6.21'
ext.embedded_kotlin_version = '1.7.0-RC'
ext.kotlin_version = '1.7.0'
ext.embedded_kotlin_version = '1.7.0'

repositories {
mavenCentral()
Expand Down
Expand Up @@ -277,4 +277,5 @@ internal fun convertKotlinExitCode(code: ExitCode) = when(code) {
ExitCode.INTERNAL_ERROR -> KotlinCompilation.ExitCode.INTERNAL_ERROR
ExitCode.COMPILATION_ERROR -> KotlinCompilation.ExitCode.COMPILATION_ERROR
ExitCode.SCRIPT_EXECUTION_ERROR -> KotlinCompilation.ExitCode.SCRIPT_EXECUTION_ERROR
ExitCode.OOM_ERROR -> throw OutOfMemoryError("Kotlin compiler ran out of memory")
}
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -4,7 +4,7 @@ kotlin.incremental=false
kapt.include.compile.classpath=false

GROUP=com.github.tschuchortdev
VERSION_NAME=1.4.9-SNAPSHOT
VERSION_NAME=1.4.9
POM_DESCRIPTION=A library that enables testing of Kotlin annotation processors, compiler plugins and code generation.
POM_INCEPTION_YEAR=2019
POM_URL=https\://github.com/tschuchortdev/kotlin-compile-testing
Expand Down
2 changes: 1 addition & 1 deletion ksp/build.gradle
@@ -1,5 +1,5 @@
buildscript {
ext.ksp_version='1.7.0-RC2-1.0.5'
ext.ksp_version='1.7.0-1.0.6'
}

dependencies {
Expand Down