-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
67 lines (57 loc) · 1.48 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
plugins {
id "scala"
id "nova.gradle" version "0.2.5"
}
allprojects {
apply plugin: "scala"
apply plugin: "nova.gradle"
apply plugin: 'jacoco'
dependencies {
compile nova(novaVersion)
compile "org.scala-lang:scala-library:2.11.7"
compile "org.jgrapht:jgrapht-core:0.9.1"
compile "org.jgrapht:jgrapht-ext:0.9.1"
compile "nova.minecraft:NOVA-Minecraft:0.0.1-SNAPSHOT"
compile "nova.scala:NOVA-Scala:0.0.1-SNAPSHOT"
compile "nova.microblock:NOVA-Microblock:0.0.1-SNAPSHOT"
testCompile "org.assertj:assertj-core:3.0.0"
testCompile "junit:junit:4.12"
testCompile group: "nova.core", name: "NOVA-Core", version: novaVersion
testCompile group: "nova.core", name: "NOVA-Core", version: novaVersion, classifier: "wrappertests", changing: true
}
nova {
wrappers {
"17" {
wrapper "nova.core:NOVA-Core-Wrapper-MC1.7:$novaVersion"
runtime "nova.minecraft:NOVA-Minecraft-Wrapper-MC1.7:0.0.1-SNAPSHOT"
}
"18" {
wrapper "nova.core:NOVA-Core-Wrapper-MC1.8:$novaVersion"
runtime "nova.minecraft:NOVA-Minecraft-Wrapper-MC1.8:0.0.1-SNAPSHOT"
}
}
}
jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
artifacts {
archives jar
}
}
subprojects {
dependencies {
compile project(":")
}
}
project(":optics") {
dependencies {
compile project(":electric")
}
}
//Add subprojects as runtime dependencies
subprojects.each {Project p ->
rootProject.nova.wrappers*.runtime p
}