From f1e6830a721420080c6ee49606a1d03144da9278 Mon Sep 17 00:00:00 2001 From: Zaxar163 Date: Sat, 30 Mar 2019 12:35:32 +0300 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=D0=A1=D1=82=D1=80=D1=83=D1=82?= =?UTF-8?q?=D1=80=D1=83=D0=BA=D0=B0=20gradle=20=D0=BF=D1=80=D0=BE=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D1=82=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LauncherTest/build.gradle | 6 ++++++ LauncherTest/src/main/java/Empty.java | 0 LauncherTest/src/test/java/Empty.java | 0 module.gradle | 3 ++- test_support.gradle | 11 +++++++++++ 5 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 LauncherTest/build.gradle create mode 100644 LauncherTest/src/main/java/Empty.java create mode 100644 LauncherTest/src/test/java/Empty.java create mode 100644 test_support.gradle 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" + } +} +