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" ) val sigtest = configurations.create( "sigtest" )
dependencies { dependencies {
testImplementation( libs.bundles.junit ) testImplementation( libs.junit )
testRuntimeOnly( libs.junit.engine ) testRuntimeOnly( libs.junit.launcher )
// https://github.com/jtulach/netbeans-apitest // https://github.com/jtulach/netbeans-apitest
sigtest( libs.sigtest ) sigtest( libs.sigtest )

View File

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

View File

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

View File

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

View File

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

View File

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