-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
99 lines (80 loc) · 2.82 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
version = "0.3.5"
ext {
appName = "guacamole"
formicVersion = "0.1.4"
gdxVersion = "1.12.1"
jspecifyVersion = "0.3.0"
// Test dependencies
junitVersion = "5.6.0"
mockitoVersion = "3.2.4"
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://jitpack.io" }
}
}
project(":core") {
apply plugin: "java-library"
dependencies {
api "org.jspecify:jspecify:$jspecifyVersion"
testImplementation "org.junit.platform:junit-platform-launcher:1.2.0" // needed for a bug in older eclipse versions
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
}
project(":gdx") {
apply plugin: "java-library"
dependencies {
api project(":core")
api "com.github.tommyettinger:formic:$formicVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
testImplementation "org.junit.platform:junit-platform-launcher:1.2.0" // needed for a bug in older eclipse versions
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "com.badlogicgames.gdx:gdx:$gdxVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
testImplementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
}
sourceSets.test {
resources.srcDirs = ["src/test/assets"]
}
}
project(":gdx-desktop") {
apply plugin: "java-library"
dependencies {
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
implementation project(":gdx")
//testImplementation "com.badlogicgames.gdx:gdx:$gdxVersion"
//testImplementation "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
//testImplementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
}
}
project(":gdx-gwt") {
apply plugin: "java-library"
dependencies {
implementation project(":gdx")
implementation "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
api "com.github.tommyettinger:formic:$formicVersion:sources"
}
}
// Clearing Eclipse project data in root folder
tasks.eclipse.doLast {
delete '.project'
delete '.classpath'
delete '.settings/'
}