Created test module
This commit is contained in:
+14
-2
@@ -105,7 +105,6 @@ project(":html") {
|
||||
apply plugin: "gwt"
|
||||
apply plugin: "war"
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":core")
|
||||
compileOnly project(":annotations")
|
||||
@@ -118,7 +117,20 @@ project(":html") {
|
||||
compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion:sources"
|
||||
}
|
||||
}
|
||||
|
||||
project(":tests"){
|
||||
apply plugin: "java"
|
||||
|
||||
dependencies {
|
||||
compile project(":core")
|
||||
testImplementation('org.junit.jupiter:junit-jupiter-api:5.1.0')
|
||||
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.1.0')
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
||||
project(":ios") {
|
||||
@@ -206,7 +218,7 @@ project(":server") {
|
||||
}
|
||||
}
|
||||
|
||||
project(":packer") {
|
||||
project(":tools") {
|
||||
apply plugin: "java"
|
||||
|
||||
dependencies {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
include 'desktop', 'html', 'core', 'android', 'kryonet', 'server', 'ios', 'annotations', 'packer'
|
||||
include 'desktop', 'html', 'core', 'android', 'kryonet', 'server', 'ios', 'annotations', 'tools', 'tests'
|
||||
|
||||
if(System.properties["release"] == null || System.properties["release"].equals("false")){
|
||||
if (new File(settingsDir, '../uCore').exists()) {
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
apply plugin: "java"
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
sourceSets.main.java.srcDirs = [ "src/" ]
|
||||
@@ -0,0 +1,9 @@
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class Tests{
|
||||
|
||||
@Test
|
||||
void testThings(){
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user