forked from libgdx/ashley
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (47 loc) · 1.36 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
subprojects {
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "java"
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}
ext {
projectGroup = "ashley"
gdxVersion = "1.9.3"
jUnitVersion = "4.12"
mockitoVersion = "1.10.19"
}
/** needed to disable Java 8 doclint which throws errors **/
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
project(":ashley") {
apply from : '../publish.gradle'
dependencies {
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
testCompile "junit:junit:$jUnitVersion"
testCompile "org.mockito:mockito-core:$mockitoVersion"
}
}
project(":tests") {
dependencies {
compile project(":ashley")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
}
}
project(":benchmarks") {
dependencies {
compile project(":ashley")
compile "junit:junit:$jUnitVersion"
compile fileTree(dir: new File(projectDir, "libs"), include: "*.jar")
}
}