xpipe/api/build.gradle

48 lines
1.2 KiB
Groovy
Raw Normal View History

2021-12-02 07:17:54 +13:00
plugins {
2022-01-10 19:10:44 +13:00
id 'java-library'
id 'maven-publish'
id 'signing'
2021-12-02 07:17:54 +13:00
id "org.moditect.gradleplugin" version "1.0.0-rc3"
}
2022-01-10 19:10:44 +13: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-02 07:17:54 +13:00
repositories {
mavenCentral()
2021-12-15 13:50:00 +13:00
}
2021-12-02 07:17:54 +13:00
dependencies {
implementation project(':core')
implementation project(':beacon')
}
test {
useJUnitPlatform()
2021-12-15 13:50:00 +13:00
testLogging {
exceptionFormat = 'full'
showStandardStreams = true
}
workingDir = rootDir
2021-12-02 07:17:54 +13:00
// Daemon properties
systemProperty "io.xpipe.beacon.exec", "cmd.exe /c \"$rootDir\\gradlew.bat\" :app:run" +
" -Dio.xpipe.app.mode=tray" +
" -Dio.xpipe.beacon.port=21722" +
" -Dio.xpipe.app.dataDir=$projectDir/local/" +
" -Dio.xpipe.storage.persist=false" +
" -Dio.xpipe.app.writeSysOut=true" +
" -Dio.xpipe.beacon.debugOutput=true" +
" -Dio.xpipe.app.logLevel=trace"
// API properties
// systemProperty 'io.xpipe.beacon.debugOutput', "true"
systemProperty "io.xpipe.beacon.port", "21722"
2021-12-02 07:17:54 +13:00
}