Slackbot
09/11/2022, 6:31 AMVladimir Sitnikov
09/11/2022, 6:37 AMio.qameta.allure
=> dependsOn => io.qameta.allure-adapter-base
=> dependsOn => io.qameta.allure-base
Historically, I used implementation(project(..))
dependencies across those modules, and it worked, however, it turns out precompiled script plugins do not generate accessors when -base
is implementation
dependency.
Here’s the issue: https://github.com/allure-framework/allure-gradle/issues/84Vladimir Sitnikov
09/11/2022, 7:01 AMGradleRunner#getPluginClasspath
does not really help since it includes all the runtime dependencies 😕tony
09/11/2022, 7:18 AMVladimir Sitnikov
09/11/2022, 8:05 AMincludeBuild
to a sandbox that builds the precompiled.
The gotcha there is that implementation("$id:$id.gradle.plugin")
does not work when using includeBuild
, and dependencySubstitution does not help either (which is yet another issue 😂): https://github.com/allure-framework/allure-gradle/pull/97/files#diff-8526501554aa4e1e5fab26527313bd433dab89164723f7fa2bfe0867e2f27eb7R10-R13