Skip to content

Conversation

ZacSweers
Copy link
Owner

@ZacSweers ZacSweers commented Dec 3, 2022

  • Deprecate KotlinCompilation.singleModule option as it no longer exists in kotlinc.
  • Propagate @ExperimentalCompilerApi annotations
  • KotlinJsCompilation.irOnly and KotlinJsCompilation.irProduceJs now default to true and are the only supported options.
  • Expose new KotlinCompilation.compilerPluginRegistrars property for adding CompilerPluginRegistrar instances (the new entrypoint API for compiler plugins)
    KotlinCompilation().apply {
      compilerPluginRegistrars = listOf(MyCompilerPluginRegistrar())
    }
  • Deprecate KotlinCompilation.compilerPlugins in favor of KotlinCompilation.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.

@ZacSweers
Copy link
Owner Author

I've published 0.1.0-1.8.0-Beta01 at this point in the PR's changes on maven central

@ZacSweers ZacSweers changed the title WIP Kotlin 1.8 support Kotlin 1.8 support Dec 28, 2022
@ZacSweers ZacSweers marked this pull request as ready for review December 28, 2022 22:49
@ZacSweers ZacSweers merged commit 971770f into master Dec 29, 2022
@ZacSweers ZacSweers deleted the z/kotlin18 branch December 29, 2022 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants