added lys-catalog

This commit is contained in:
2022-08-28 12:46:46 +08:00
parent df7c4cc81d
commit f19f1b9e3c
8 changed files with 206 additions and 149 deletions

View File

@@ -1,8 +1,8 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'net.woggioni.gradle.lombok' apply false
id "net.woggioni.gradle.multi-release-jar"
alias catalog.plugins.lombok apply false
alias catalog.plugins.multi.release.jar
}
group = "net.woggioni"
@@ -10,7 +10,7 @@ version = getProperty("jzstd.version")
allprojects {
apply plugin: 'net.woggioni.gradle.lombok'
apply plugin: catalog.plugins.lombok.get().pluginId
repositories {
maven {
@@ -20,13 +20,13 @@ allprojects {
}
lombok {
version = getProperty('lombok.version')
version = catalog.versions.lombok
}
dependencies {
testRuntimeOnly group: "org.junit.jupiter", name: "junit-jupiter-engine", version: property("junit.version")
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-api", version: property("junit.version")
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-params", version: property("junit.version")
testRuntimeOnly catalog.junit.jupiter.engine
testImplementation catalog.junit.jupiter.api
testImplementation catalog.junit.jupiter.params
}
tasks.withType(Test) {
@@ -40,7 +40,7 @@ compileJava {
}
dependencies {
implementation group: "net.java.dev.jna", name: "jna", version: getProperty("jna.version")
implementation catalog.jna
}
wrapper {