-
Notifications
You must be signed in to change notification settings - Fork 144
/
build.gradle
56 lines (47 loc) · 1.42 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-library"
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.10.0"
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 {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
testImplementation "junit:junit:$jUnitVersion"
testImplementation "org.mockito:mockito-core:$mockitoVersion"
}
}
project(":tests") {
dependencies {
implementation project(":ashley")
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
}
}
project(":benchmarks") {
dependencies {
implementation project(":ashley")
implementation "junit:junit:$jUnitVersion"
implementation fileTree(dir: new File(projectDir, "libs"), include: "*.jar")
}
}