forked from Dungeon-CampusMinden/Dungeon
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
42 lines (32 loc) · 1.11 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id 'java-library'
}
dependencies {
// LibGDX
api supportDependencies.gdx
api supportDependencies.gdx_freetype
api supportDependencies.gdx_backend_lwjgl3
api supportDependencies.gdx_lwjgl3_glfw_awt_macos
api supportDependencies.gdx_platform
api supportDependencies.gdx_freetype_platform
api supportDependencies.gdx_ai
// https://mvnrepository.com/artifact/com.google.code.gson/gson
api supportDependencies.gson
// JUnit 4, Mockito and Powermock for testing:
// https://mvnrepository.com/artifact/junit/junit
api supportDependencies.junit
api supportDependencies.mockito_core
}
sourceSets.main.java.srcDirs = ['src/']
sourceSets.main.resources.srcDirs = ['assets/']
sourceSets.test.java.srcDirs = ['test/']
sourceSets.test.resources.srcDirs = ['test_resources/']
tasks.register('runBasicStarter', JavaExec) {
mainClass = 'starter.BasicStarter'
classpath = sourceSets.main.runtimeClasspath
}
tasks.register('debugBasicStarter', JavaExec) {
mainClass = 'starter.BasicStarter'
classpath = sourceSets.main.runtimeClasspath
debug = true
}