mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-28 18:40:34 +00:00
37 lines
No EOL
1.1 KiB
Groovy
37 lines
No EOL
1.1 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
id 'signing'
|
|
id "org.moditect.gradleplugin" version "1.0.0-rc3"
|
|
}
|
|
|
|
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.13.0"
|
|
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-parameter-names', version: "2.13.0"
|
|
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "2.13.0"
|
|
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: "2.13.0"
|
|
}
|
|
|
|
version = rootProject.versionString
|
|
group = 'io.xpipe'
|
|
archivesBaseName = 'xpipe-core'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
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" |