SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: rowbearto on November 25, 2019, 03:31:59 PM

Title: The testCompile configuration has been deprecated for dependency declaration
Post by: rowbearto on November 25, 2019, 03:31:59 PM
I created a java gradle project. SlickEdit created the build.gradle. But it seems SlickEdit is using some deprecated features.

I get this warning:

Code: [Select]
The testCompile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testImplementation configuration instead.
corresponding to this code:

Code: [Select]
dependencies {
    testCompile "junit:junit:4.12"
}

I am using Gradle 6.0.1.
Title: Re: The testCompile configuration has been deprecated for dependency declaration
Post by: patrick on November 25, 2019, 07:12:32 PM
Interesting. I'll add an item to my list to update that gradle template.  Thanks.
Title: Re: The testCompile configuration has been deprecated for dependency declaration
Post by: patrick on January 02, 2020, 07:37:30 PM
I've updated the Gradle templates for the next release, so it uses "testImplementation" instead of "testCompile".