Slackbot
03/13/2023, 12:57 PMVampire
03/13/2023, 1:03 PMplugins { ... }
block to an actual code artifact. That is perfectly fine and will also be found if you have the Gradle Plugin Portal or any other repository where it is present as plugin repository.
The error
on the other hand means that you try to declare a dependency forCopy codeDependencies can not be declared against the `testCompileClasspath` configuration.
testCompileClasspath
which you shouldn't do and is checked with Gradle 8 now.
You should declare it against testImplementation
, testApi
, or testCompileOnly
instead. For kotlin-dsl
most probably testCompileOnly
.Benoît
03/13/2023, 1:04 PMtestCompileClasspath
in my project and I cannot find where it’s setBenoît
03/13/2023, 1:06 PMbuildSrc
it seems. I’ll see if I can get rid of it as I don’t use it for nowVampire
03/13/2023, 1:06 PMBenoît
03/13/2023, 2:35 PM