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"
|
|
|
|
}
|
|
|
|
|
2022-01-10 06:10:44 +00:00
|
|
|
apply from: "$rootDir/deps/java.gradle"
|
|
|
|
apply from: "$rootDir/deps/junit.gradle"
|
|
|
|
apply from: 'publish.gradle'
|
|
|
|
apply from: "$rootDir/deps/publish-base.gradle"
|
|
|
|
|
|
|
|
version = file('../version').text
|
|
|
|
group = 'io.xpipe'
|
|
|
|
archivesBaseName = '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
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':core')
|
|
|
|
implementation project(':beacon')
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2021-12-15 00:50:00 +00:00
|
|
|
testLogging {
|
|
|
|
exceptionFormat = 'full'
|
|
|
|
showStandardStreams = true
|
|
|
|
}
|
2021-12-01 18:17:54 +00:00
|
|
|
|
2022-01-10 06:10:44 +00:00
|
|
|
systemProperty 'io.xpipe.beacon.exec', 'start_test_daemon.bat'
|
2021-12-01 18:17:54 +00:00
|
|
|
systemProperty "io.xpipe.daemon.mode", 'base'
|
|
|
|
systemProperty "io.xpipe.storage.dir", "$projectDir/test_env"
|
|
|
|
systemProperty "io.xpipe.beacon.port", "21722"
|
2021-12-15 00:50:00 +00:00
|
|
|
systemProperty 'io.xpipe.app.writeSysOut', "true"
|
2022-01-10 06:10:44 +00:00
|
|
|
systemProperty 'io.xpipe.app.logLevel', "trace"
|
2021-12-01 18:17:54 +00:00
|
|
|
}
|