2021-12-01 18:17:54 +00:00
|
|
|
plugins {
|
2022-01-10 06:10:44 +00:00
|
|
|
id 'java-library'
|
|
|
|
id 'maven-publish'
|
|
|
|
id 'signing'
|
2021-12-01 18:17:54 +00:00
|
|
|
id "org.moditect.gradleplugin" version "1.0.0-rc3"
|
|
|
|
}
|
|
|
|
|
2023-01-27 02:34:46 +00:00
|
|
|
apply from: "$rootDir/gradle/gradle_scripts/java.gradle"
|
|
|
|
apply from: "$rootDir/gradle/gradle_scripts/lombok.gradle"
|
|
|
|
apply from: "$rootDir/gradle/gradle_scripts/junit.gradle"
|
2021-12-15 00:50:00 +00:00
|
|
|
|
2022-09-29 12:51:02 +00:00
|
|
|
compileJava {
|
|
|
|
options.compilerArgs << '-parameters'
|
|
|
|
}
|
2022-09-17 03:08:36 +00:00
|
|
|
|
2022-10-15 14:06:02 +00:00
|
|
|
dependencies {
|
2023-06-01 01:23:45 +00:00
|
|
|
api group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "2.15.2"
|
|
|
|
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-parameter-names', version: "2.15.2"
|
|
|
|
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "2.15.2"
|
|
|
|
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: "2.15.2"
|
2022-05-03 13:26:31 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 10:05:26 +00:00
|
|
|
version = rootProject.versionString
|
2022-01-10 06:10:44 +00:00
|
|
|
group = 'io.xpipe'
|
2022-09-01 23:41:51 +00:00
|
|
|
archivesBaseName = 'xpipe-core'
|
2021-12-15 00:50:00 +00:00
|
|
|
|
2022-01-10 06:10:44 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2021-12-15 00:50:00 +00:00
|
|
|
}
|
2022-08-12 15:26:01 +00:00
|
|
|
|
2023-01-27 02:34:46 +00:00
|
|
|
task dist(type: Copy) {
|
|
|
|
from jar.archiveFile
|
|
|
|
into "${project(':dist').buildDir}/dist/libraries"
|
|
|
|
}
|
|
|
|
|
2022-08-13 06:36:41 +00:00
|
|
|
apply from: 'publish.gradle'
|
2023-01-27 02:34:46 +00:00
|
|
|
apply from: "$rootDir/gradle/gradle_scripts/publish-base.gradle"
|