Slackbot
10/06/2022, 10:05 AMThomas Broyer
10/06/2022, 10:24 AMval additionalPluginClasspath by configurations.creating
dependencies {
additionalPluginClasspath("com.google.cloud.tools.jib:com.google.cloud.tools.jib.gradle.plugin:3.3.0")
}
tasks {
pluginUnderTestMetadata {
this.pluginClasspath.from(additionalPluginClasspath)
}
}
and then use it without version from your test project:
plugins {
id("com.google.cloud.tools.jib")
}
Stefano Zanella
10/06/2022, 10:29 AMimplementation
dependency of my plugin, assuming it'll get applied automatically and also loaded at test time. Does that count or am I taking the wrong assumption and doing it wrong? The official docs didn't help much in this regardStefano Zanella
10/06/2022, 10:30 AMThomas Broyer
10/06/2022, 10:32 AMimplementation
then additionalPluginClasspath
shouldn't be needed.Stefano Zanella
10/06/2022, 10:35 AM