mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-24 16:40:25 +00:00
50 lines
1.3 KiB
Groovy
50 lines
1.3 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id "org.moditect.gradleplugin" version "1.0.0-rc3"
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
plugins.withType(JavaPlugin).configureEach {
|
|
java {
|
|
modularity.inferModulePath = true
|
|
}
|
|
}
|
|
|
|
apply from: "$rootDir/deps/commons.gradle"
|
|
apply from: "$rootDir/deps/jackson.gradle"
|
|
|
|
dependencies {
|
|
implementation project(':core')
|
|
implementation project(':beacon')
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
|
testRuntimeOnly project(':app')
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
exceptionFormat = 'full'
|
|
showStandardStreams = true
|
|
}
|
|
|
|
//workingDir = project(":app").projectDir
|
|
|
|
systemProperty 'io.xpipe.beacon.startInProcess', 'true'
|
|
systemProperty "io.xpipe.daemon.mode", 'base'
|
|
systemProperty "io.xpipe.storage.dir", "$projectDir/test_env"
|
|
systemProperty "io.xpipe.beacon.port", "21722"
|
|
systemProperty 'io.xpipe.app.writeSysOut', "true"
|
|
systemProperty 'io.xpipe.app.logLevel', "debug"
|
|
}
|