xpipe-mirror/core/build.gradle

38 lines
No EOL
910 B
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.18.1"
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "2.18.1"
}
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"