diff --git a/LauncherTest/build.gradle b/LauncherTest/build.gradle new file mode 100644 index 00000000..28530075 --- /dev/null +++ b/LauncherTest/build.gradle @@ -0,0 +1,6 @@ +apply from: '../test_support.gradle' + +dependencies { + compile project(':LaunchServer') +} + diff --git a/LauncherTest/src/main/java/Empty.java b/LauncherTest/src/main/java/Empty.java new file mode 100644 index 00000000..e69de29b diff --git a/LauncherTest/src/test/java/Empty.java b/LauncherTest/src/test/java/Empty.java new file mode 100644 index 00000000..e69de29b diff --git a/module.gradle b/module.gradle index a5690396..95cf1915 100644 --- a/module.gradle +++ b/module.gradle @@ -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) } } } diff --git a/test_support.gradle b/test_support.gradle new file mode 100644 index 00000000..5cfb0a46 --- /dev/null +++ b/test_support.gradle @@ -0,0 +1,11 @@ +dependencies { + testCompile 'org.junit.jupiter:junit-jupiter:5.4.1' +} + +test { + useJUnitPlatform() + testLogging { + events "passed", "skipped", "failed" + } +} +