rcd27
10/18/2022, 7:00 PMbuild.gradle.kts:
...
gradlePlugin {
plugins {
create("my-plugin") {
id = "com.github.rcd2772.plugin"
implementationClass = "com.github.rcd2772.plugin.MetaPlugin"
}
}
}
Where MetaPlugin
implements Meta
interface. And all is done like in (meta-samples)[https://github.com/arrow-kt/arrow-meta-examples]. The only difference is that I add all plugin logic and its runtime dependencies to buildSrc
. In order to add it in my app
module via plugins { id("com.github.rcd2772.plugin") }
However gradle-plugin stuff(the one responsible for registering plugin with create
DSL) says: 'com.github.rcd2772.plugin.MetaPlugin' is neither a plugin or a rule source and cannot be applied
Is there a way to register Meta plugin with gradlePlugin
?rcd27
10/19/2022, 3:42 AMraulraja
10/19/2022, 1:39 PMraulraja
10/19/2022, 1:39 PMraulraja
10/19/2022, 1:40 PMrcd27
10/19/2022, 2:52 PMfreeCompilerArgs
before, implementing like shown in arrow-meta-samples. OK then.