xpipe/core/build.gradle
crschnick 3e7fbe89ac Merge branch prefs into master
The changes have been squashed as the commit history and messages were not very carefully crafted. There isn't that much value in preserving random commit messages.

Also due to diverging branches, rebasing or merging it was difficult.
2024-02-28 07:36:31 +00:00

40 lines
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.16.1"
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-parameter-names', version: "2.16.1"
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "2.16.1"
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: "2.16.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"