Slackbot
03/17/2023, 4:59 PMVampire
03/17/2023, 5:03 PMapply ...
, but use plugins { ... }
block to apply plugins
• Is PluginName
the id or the class name?Vampire
03/17/2023, 5:03 PMMarek
03/17/2023, 5:05 PMVampire
03/17/2023, 5:07 PMVampire
03/17/2023, 5:07 PMPaul Merlin
03/17/2023, 5:23 PMPluginNameKt
Marek
03/17/2023, 5:26 PMVampire
03/17/2023, 5:26 PMPluginName.kt
, but not if you have abstract class PluginName : Plugin<Project>
?Marek
03/17/2023, 5:33 PMMarek
03/17/2023, 5:40 PMgradlePlugins { }
block. In such case I got
Could not find implementation class 'PluginName' for plugin 'my.plugin'
Marek
03/17/2023, 5:41 PMPaul Merlin
03/17/2023, 5:42 PM:buildSrc:compileKotlin
actually running? is the .class
file present in buildSrc/build/classes
? is it present in the jar under buildSrc/build/
?Marek
03/17/2023, 5:46 PMgroovy
to kotlin
source set. It can now be correctly applied. I won’t be able though to use a Task written in groovy in the groovy
source set right? 😉Marek
03/17/2023, 5:48 PMVampire
03/17/2023, 6:09 PMMarek
03/17/2023, 6:11 PMVampire
03/17/2023, 6:32 PMVampire
03/17/2023, 6:34 PMMarek
03/20/2023, 6:32 PMclasspath
property of the KotlinCompile
task shouldn’t be used anymore in favour of a new libraries
property.