switch to lys catalog

This commit is contained in:
2022-08-28 12:05:56 +08:00
parent 6c19886369
commit 1a17f5ce22
5 changed files with 32 additions and 18 deletions

View File

@@ -1,12 +1,12 @@
plugins {
id 'maven-publish'
id 'net.woggioni.gradle.multi-release-jar'
id 'net.woggioni.gradle.lombok' apply false
alias(catalog.plugins.multi.release.jar)
alias(catalog.plugins.lombok) apply false
}
allprojects {
apply plugin: 'java-library'
apply plugin: 'net.woggioni.gradle.lombok'
apply plugin: catalog.plugins.lombok.get().pluginId
group = "net.woggioni"
version = getProperty('jwo.version')
@@ -17,15 +17,15 @@ allprojects {
}
mavenCentral()
}
dependencies {
testImplementation platform(group: 'com.lys', name: 'lys-dependencies', version: getProperty('lys.version'))
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine'
testImplementation catalog.junit.jupiter.api
testImplementation catalog.junit.jupiter.params
testRuntimeOnly catalog.junit.jupiter.engine
}
lombok {
version = getProperty('lombok.version')
version = catalog.versions.lombok.get()
}
}
@@ -39,7 +39,7 @@ configurations {
}
dependencies {
implementation group: "org.slf4j", name: "slf4j-api", version: getProperty('slf4j.version')
implementation catalog.slf4j.api
pathClassloaderTest group: 'com.google.inject', name: 'guice', version: getProperty('guice.version')
}