mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FEATURE] Струтрука gradle проекта для тестов.
This commit is contained in:
parent
6b663c481c
commit
f1e6830a72
5 changed files with 19 additions and 1 deletions
6
LauncherTest/build.gradle
Normal file
6
LauncherTest/build.gradle
Normal file
|
@ -0,0 +1,6 @@
|
|||
apply from: '../test_support.gradle'
|
||||
|
||||
dependencies {
|
||||
compile project(':LaunchServer')
|
||||
}
|
||||
|
0
LauncherTest/src/main/java/Empty.java
Normal file
0
LauncherTest/src/main/java/Empty.java
Normal file
0
LauncherTest/src/test/java/Empty.java
Normal file
0
LauncherTest/src/test/java/Empty.java
Normal file
|
@ -1,6 +1,7 @@
|
|||
dependencies {
|
||||
compileOnly project(':LaunchServer')
|
||||
}
|
||||
|
||||
jar {
|
||||
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
|
||||
}
|
||||
|
|
11
test_support.gradle
Normal file
11
test_support.gradle
Normal file
|
@ -0,0 +1,11 @@
|
|||
dependencies {
|
||||
testCompile 'org.junit.jupiter:junit-jupiter:5.4.1'
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue