This message was deleted.
# kotlin-dsl
s
This message was deleted.
👀 1
v
That is the marker artifact that is used to resolve a plugin ID from a plugin in the
plugins { ... }
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
Copy code
Dependencies can not be declared against the `testCompileClasspath` configuration.
on the other hand means that you try to declare a dependency for
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
.
b
I don’t have any
testCompileClasspath
in my project and I cannot find where it’s set
The trace shows me it happens on
buildSrc
it seems. I’ll see if I can get rid of it as I don’t use it for now
v
Maybe you use some plugin that does it. When upgrading Gradle, I usually recommend to first update to the latest minor release of a major version (7.6.1 in your case) and fix all deprecation warnings before going to the next major version. Usually if there are no deprecation warnings, the build should work with the next major version.
b
I’ve rolled back some version bumps and I’m ok for now. Thank you. I’ll try again soon. Thanks for the tips
👌 1