Skip to content

Commit 9adedab

Browse files
committed
Prepare for release 0.2.0.
1 parent 971770f commit 9adedab

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
11
Changelog
22
=========
33

4+
0.2.0
5+
-----
6+
7+
_2022-12-28_
8+
9+
- Deprecate `KotlinCompilation.singleModule` option as it no longer exists in kotlinc.
10+
- Propagate `@ExperimentalCompilerApi` annotations
11+
- `KotlinJsCompilation.irOnly` and `KotlinJsCompilation.irProduceJs` now default to true and are the only supported options.
12+
- Expose new `KotlinCompilation.compilerPluginRegistrars` property for adding `CompilerPluginRegistrar` instances (the new entrypoint API for compiler plugins)
13+
```kotlin
14+
KotlinCompilation().apply {
15+
compilerPluginRegistrars = listOf(MyCompilerPluginRegistrar())
16+
}
17+
```
18+
- Deprecate `KotlinCompilation.compilerPlugins` in favor of `KotlinCompilation.componentRegistrars`. The latter is also deprecated, but this is at least a clearer name.
19+
```diff
20+
KotlinCompilation().apply {
21+
- compilerPlugins = listOf(MyComponentRegistrar())
22+
+ componentRegistrars = listOf(MyComponentRegistrar())
23+
}
24+
```
25+
- Don't try to set removed kotlinc args. If they're removed, they're removed forever. This library will just track latest kotlin releases with its own.
26+
- Dependency updates:
27+
```
28+
Kotlin (and its associated artifacts) 1.8.0
29+
KSP 1.8.0
30+
Classgraph: 4.8.153
31+
```
32+
33+
Special thanks to [@bnorm](https://github.com/bnorm) for contributing to this release.
34+
435
0.1.0
536
-----
637

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kotlin.incremental=false
33
kapt.include.compile.classpath=false
44

55
GROUP=dev.zacsweers.kctfork
6-
VERSION_NAME=1.0.0-SNAPSHOT
6+
VERSION_NAME=0.2.0
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/zacsweers/kotlin-compile-testing

0 commit comments

Comments
 (0)