Slackbot
06/08/2022, 1:58 PMChris Lee
06/08/2022, 2:01 PMapply from
is the mechanism to invoke another script.David Smith
06/08/2022, 2:01 PMDavid Smith
06/08/2022, 2:31 PMplugin was not found
errorsChris Lee
06/08/2022, 2:32 PMDavid Smith
06/08/2022, 2:34 PMapply(plugin = "kotlin")
apply(plugin = "com.google.cloud.tools.jib")
plugins {
id("greet")
}
David Smith
06/08/2022, 2:34 PMPlugin [id: 'greet'] was not found in any of the following sources:
Chris Lee
06/08/2022, 2:35 PMplugins
is the correct way to reference it. buildSrc should be at the root of the project to compile and expose that plugin.Chris Lee
06/08/2022, 2:35 PMDavid Smith
06/08/2022, 2:35 PMDavid Smith
06/08/2022, 2:40 PMbuildSrc
?David Smith
06/08/2022, 2:40 PMChris Lee
06/08/2022, 2:44 PMVampire
06/08/2022, 4:23 PMit could get a bit messyIf you already know that, don't do it. I usually never use
buildSrc
nowadays, but always included builds.
And you can easily have one build you include per plugin you want to write or group a few in one build or however you like the buildtree to look like.