Skip to content

Conversation

@colltoaction
Copy link
Contributor

This will make the project future-proof for Gradle 7: Dependencies should no longer be declared using the compile and runtime configurations

Example build script:

plugins {
    id 'java-library'
}

repositories {
    jcenter()
}

dependencies {
    testImplementation "org.testcontainers:junit-jupiter:1.14.3"
}

Current output:

The testCompileOnly configuration has been deprecated for resolution. This will fail with an error in Gradle 7.0. Please resolve the testCompileClasspath configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.6.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations

FAILURE: Build failed with an exception.

* What went wrong:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0

Copy link
Member

@rnorth rnorth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @colltoaction - LGTM

@rnorth rnorth merged commit d796707 into testcontainers:master Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants