[FEATURE] Струтрука gradle проекта для тестов.

This commit is contained in:
Zaxar163 2019-03-30 12:35:32 +03:00
parent 6b663c481c
commit f1e6830a72
5 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,6 @@
apply from: '../test_support.gradle'
dependencies {
compile project(':LaunchServer')
}

View file

View file

View file

@ -1,7 +1,8 @@
dependencies {
compileOnly project(':LaunchServer')
}
jar {
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
}

11
test_support.gradle Normal file
View file

@ -0,0 +1,11 @@
dependencies {
testCompile 'org.junit.jupiter:junit-jupiter:5.4.1'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}