mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-02 18:17:27 +13:00
42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
id 'signing'
|
|
id "org.moditect.gradleplugin" version "1.0.0-rc3"
|
|
}
|
|
|
|
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'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':core')
|
|
implementation project(':beacon')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
exceptionFormat = 'full'
|
|
showStandardStreams = true
|
|
}
|
|
workingDir = rootDir
|
|
|
|
systemProperty "io.xpipe.storage.dir", "$projectDir/local/storage"
|
|
systemProperty "io.xpipe.storage.persist", "false"
|
|
systemProperty 'io.xpipe.app.writeSysOut', "true"
|
|
systemProperty 'io.xpipe.app.logLevel', "trace"
|
|
|
|
systemProperty "io.xpipe.beacon.exec", "cmd.exe /c \"$rootDir\\gradlew.bat\" :app:run -Dio.xpipe.daemon.mode=tray -Dio.xpipe.beacon.port=21722 -Dio.xpipe.app.dataDir=$projectDir/local/"
|
|
systemProperty 'io.xpipe.beacon.debugOutput', "true"
|
|
systemProperty "io.xpipe.beacon.port", "21722"
|
|
}
|