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/junit.gradle"
|
2022-01-10 06:10:44 +00:00
|
|
|
|
2022-09-17 03:08:36 +00:00
|
|
|
System.setProperty('excludeExtensionLibrary', 'true')
|
2023-01-27 02:34:46 +00:00
|
|
|
apply from: "$rootDir/gradle/gradle_scripts/extension_test.gradle"
|
2022-09-17 03:08:36 +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-api'
|
2021-12-01 18:17:54 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2021-12-15 00:50:00 +00:00
|
|
|
}
|
2021-12-01 18:17:54 +00:00
|
|
|
|
2022-06-17 23:17:08 +00:00
|
|
|
test {
|
2022-08-12 15:26:01 +00:00
|
|
|
enabled = true
|
2022-06-17 23:17:08 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 18:17:54 +00:00
|
|
|
dependencies {
|
2022-09-01 23:41:51 +00:00
|
|
|
api project(':core')
|
2021-12-01 18:17:54 +00:00
|
|
|
implementation project(':beacon')
|
2023-06-01 01:23:45 +00:00
|
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "2.15.2"
|
2021-12-01 18:17:54 +00:00
|
|
|
}
|
|
|
|
|
2022-08-12 15:26:01 +00:00
|
|
|
configurations {
|
|
|
|
testImplementation.extendsFrom(dep)
|
|
|
|
}
|
|
|
|
|
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"
|