60 lines
1.0 KiB
Groovy
60 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
alias(catalog.plugins.lombok) apply false
|
|
alias(catalog.plugins.multi.release.jar)
|
|
}
|
|
|
|
group = "net.woggioni"
|
|
version = getProperty("jzstd.version")
|
|
|
|
|
|
allprojects {
|
|
apply plugin: catalog.plugins.lombok.get().pluginId
|
|
|
|
repositories {
|
|
maven {
|
|
url = 'https://woggioni.net/mvn/'
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
lombok {
|
|
version = catalog.versions.lombok
|
|
}
|
|
|
|
dependencies {
|
|
testRuntimeOnly catalog.junit.jupiter.engine
|
|
testImplementation catalog.junit.jupiter.api
|
|
testImplementation catalog.junit.jupiter.params
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|
|
|
|
compileJava {
|
|
options.release = 8
|
|
options.compilerArgs << '-parameters'
|
|
}
|
|
|
|
dependencies {
|
|
implementation catalog.jna
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
url = 'https://mvn.woggioni.net/'
|
|
}
|
|
}
|
|
publications {
|
|
maven(MavenPublication) {
|
|
from(components["java"])
|
|
}
|
|
}
|
|
}
|
|
|
|
|