xpipe-mirror/core/build.gradle
2024-03-21 06:14:50 +00:00

40 lines
No EOL
1.1 KiB
Groovy

plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
apply from: "$rootDir/gradle/gradle_scripts/java.gradle"
apply from: "$rootDir/gradle/gradle_scripts/lombok.gradle"
apply from: "$rootDir/gradle/gradle_scripts/junit.gradle"
compileJava {
options.compilerArgs << '-parameters'
}
dependencies {
api group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "2.17.0"
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-parameter-names', version: "2.17.0"
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "2.17.0"
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: "2.17.0"
}
version = rootProject.versionString
group = 'io.xpipe'
archivesBaseName = 'xpipe-core'
repositories {
mavenCentral()
}
dependencies {
testImplementation project(':core')
}
task dist(type: Copy) {
from jar.archiveFile
into "${project(':dist').buildDir}/dist/libraries"
}
apply from: 'publish.gradle'
apply from: "$rootDir/gradle/gradle_scripts/publish-base.gradle"