gradle-plugin-plugins
A Gradle plugin to set up the Gradle plugin for the compiler plugin. Boy that's a mouthful.
The plugin ID is dev.rnett.kcp-development.gradle-plugin.
The extension is registered at compilerSupportPluginDevelopment:
compilerSupportPluginDevelopment {
// the project path of the compiler plugin project. Defaults to ":compiler-plugin"
compilerPluginProjectPath = ":compiler-plugin"
// any additional projects to include coordinates for in the generated build config, e.g. so your Gradle plugin can add dependencies on them. Optional, defaults to empty.
additionalLibraryProjectPaths = mapOf("my-annotations" to ":my-annotations")
}Content copied to clipboard
Applies the com.github.gmazzo.buildconfig plugin, and configures it with the following fields:
KOTLIN_PLUGIN_ID- the compiler plugin ID. Matches the one generated by the KCP-development compiler plugin Gradle plugin.KOTLIN_PLUGIN_GROUP- the group ID of the compiler plugin.KOTLIN_PLUGIN_NAME- the name of the compiler plugin.KOTLIN_PLUGIN_VERSION- the version of the compiler plugin.*_LIBRARY_COORDINATES- coordinates of the libraries fromadditionalLibraryProjectPaths.