Releases: ZacSweers/kotlin-compile-testing
Releases · ZacSweers/kotlin-compile-testing
0.2.0
- Deprecate
KotlinCompilation.singleModule
option as it no longer exists in kotlinc. - Propagate
@ExperimentalCompilerApi
annotations KotlinJsCompilation.irOnly
andKotlinJsCompilation.irProduceJs
now default to true and are the only supported options.- Expose new
KotlinCompilation.compilerPluginRegistrars
property for addingCompilerPluginRegistrar
instances (the new entrypoint API for compiler plugins)KotlinCompilation().apply { compilerPluginRegistrars = listOf(MyCompilerPluginRegistrar()) }
- Deprecate
KotlinCompilation.compilerPlugins
in favor ofKotlinCompilation.componentRegistrars
. The latter is also deprecated, but this is at least a clearer name.KotlinCompilation().apply { - compilerPlugins = listOf(MyComponentRegistrar()) + componentRegistrars = listOf(MyComponentRegistrar()) }
- 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.
- Dependency updates:
Kotlin (and its associated artifacts) 1.8.0 KSP 1.8.0 Classgraph: 4.8.153
Special thanks to @bnorm for contributing to this release.
What's Changed
- Configure Renovate by @renovate in #104
- Update dependency io.github.classgraph:classgraph to v4.8.152 by @renovate in #106
- Update dependency org.mockito:mockito-core to v4.10.0 by @renovate in #107
- Update plugin com.gradle.enterprise to v3.12 by @renovate in #109
- Update dependency org.mockito:mockito-core to v4.11.0 by @renovate in #113
- Update dependency io.github.classgraph:classgraph to v4.8.153 by @renovate in #112
- Update plugin com.gradle.enterprise to v3.12.1 by @renovate in #111
- Kotlin 1.8 support by @ZacSweers in #103
New Contributors
Full Changelog: 0.1.0...0.2.0
0.1.0
Initial release. Changes from the original repo are as follows
Base commit: tschuchortdev@4f394fe
- New: Add
supportsK2
option toKotlinCompilation
to allow testing the new K2 compiler. - Update to Kotlin
1.7.22
. - Update to KSP
1.7.22-1.0.8
.