Kelvin Chung
05/07/2024, 8:24 PMsrc/
main/
groovy/
my-groovy-plugin.gradle
kotlin/
my-kotlin-plugin.gradle.kts
wherein my-kotlin-plugin contains
plugins {
id("my-groovy-plugin")
}
Compilation is failing because of an UnknownPluginException in my-kotlin-plugin wrt the application of my-groovy-plugin.
Any insights as to why this would be the case?ephemient
05/07/2024, 8:48 PMephemient
05/07/2024, 8:48 PMpluginManager.apply("my-groovy-plugin") and forego any generated accessors, or move everything into a single languageKelvin Chung
05/07/2024, 8:50 PMKelvin Chung
05/07/2024, 8:53 PMtasks.compileGroovy {
classpath = sourceSets["main"].compileClasspath
}
tasks.compileKotlin {
libraries.from(sourceSets["main"].groovy.classesDirectory)
}
I'm suspecting that there is something amiss here.ephemient
05/07/2024, 8:59 PM