Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19859

Buildscript dependencies

$
0
0

I have a buildscript which includes a custom plugin as a dependency in the script. The dependecy declaration uses “classpath” to resolve the plugin (i.e
buildscript{
dependencies {
classpath “package:myPlugin:version”
}
}
When I apply the plugin to a project I get the following deprecation warning:
The runtime configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the runtimeClasspath configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.2.2/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations

I’ve tried using implementation instead of classpath. How can I resolve this warning message?


Viewing all articles
Browse latest Browse all 19859

Trending Articles