Gradle: fixed warning regarding using deprecation Gradle features, making it incompatible with Gradle 9.0

This commit is contained in:
Karl Tauber
2024-03-23 13:46:51 +01:00
parent a503879858
commit a62dd22f83
6 changed files with 13 additions and 17 deletions

View File

@@ -27,8 +27,8 @@ plugins {
val sigtest = configurations.create( "sigtest" )
dependencies {
testImplementation( libs.bundles.junit )
testRuntimeOnly( libs.junit.engine )
testImplementation( libs.junit )
testRuntimeOnly( libs.junit.launcher )
// https://github.com/jtulach/netbeans-apitest
sigtest( libs.sigtest )

View File

@@ -33,8 +33,8 @@ plugins {
dependencies {
implementation( project( ":flatlaf-core" ) )
testImplementation( libs.bundles.junit )
testRuntimeOnly( libs.junit.engine )
testImplementation( libs.junit )
testRuntimeOnly( libs.junit.launcher )
}
flatlafModuleInfo {

View File

@@ -33,8 +33,8 @@ plugins {
dependencies {
implementation( project( ":flatlaf-core" ) )
testImplementation( libs.bundles.junit )
testRuntimeOnly( libs.junit.engine )
testImplementation( libs.junit )
testRuntimeOnly( libs.junit.launcher )
}
flatlafModuleInfo {

View File

@@ -33,8 +33,8 @@ plugins {
dependencies {
implementation( project( ":flatlaf-core" ) )
testImplementation( libs.bundles.junit )
testRuntimeOnly( libs.junit.engine )
testImplementation( libs.junit )
testRuntimeOnly( libs.junit.launcher )
}
flatlafModuleInfo {

View File

@@ -33,8 +33,8 @@ plugins {
dependencies {
implementation( project( ":flatlaf-core" ) )
testImplementation( libs.bundles.junit )
testRuntimeOnly( libs.junit.engine )
testImplementation( libs.junit )
testRuntimeOnly( libs.junit.launcher )
}
flatlafModuleInfo {

View File

@@ -15,7 +15,7 @@
#
[versions]
junit = "5.10.0"
junit = "5.10.2"
[libraries]
@@ -50,16 +50,12 @@ jna = "net.java.dev.jna:jna:5.12.1"
jna-platform = "net.java.dev.jna:jna-platform:5.12.1"
# junit
junit-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
junit-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
junit-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
junit-launcher = { module = "org.junit.platform:junit-platform-launcher" }
# errorprone
errorprone = "com.google.errorprone:error_prone_core:2.20.0"
[bundles]
junit = [ "junit-api", "junit-params" ]
[plugins]
errorprone = { id = "net.ltgt.errorprone", version = "3.1.0" }