xpipe/api/build.gradle

51 lines
1.3 KiB
Groovy
Raw Normal View History

2021-12-02 07:17:54 +13:00
plugins {
id 'java'
id "org.moditect.gradleplugin" version "1.0.0-rc3"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
2021-12-15 13:50:00 +13:00
maven { url "https://jitpack.io" }
2021-12-02 07:17:54 +13:00
}
2021-12-15 13:50:00 +13:00
plugins.withType(JavaPlugin).configureEach {
java {
modularity.inferModulePath = true
}
}
2021-12-02 07:17:54 +13:00
apply from: "$rootDir/deps/commons.gradle"
apply from: "$rootDir/deps/jackson.gradle"
dependencies {
implementation project(':core')
implementation project(':beacon')
2021-12-15 13:50:00 +13:00
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
2022-01-02 12:51:06 +13:00
//testRuntimeOnly project(':app')
2021-12-15 13:50:00 +13:00
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
2021-12-02 07:17:54 +13:00
}
test {
useJUnitPlatform()
2021-12-15 13:50:00 +13:00
testLogging {
exceptionFormat = 'full'
showStandardStreams = true
}
2021-12-02 07:17:54 +13:00
//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"
2021-12-15 13:50:00 +13:00
systemProperty 'io.xpipe.app.writeSysOut', "true"
systemProperty 'io.xpipe.app.logLevel', "debug"
2021-12-02 07:17:54 +13:00
}