-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (47 loc) · 1.06 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
plugins {
id "java"
id "nova.gradle" version "0.2.6"
id "maven-publish"
id "com.jfrog.artifactory" version "3.1.1"
}
apply from: "https://raw.githubusercontent.com/NOVA-Team/NOVA-Gradle/master/shared-scripts/java.gradle"
dependencies {
compile nova(nova_version)
compile "nova.core:NOVA-Core:${nova_version}"
testCompile "nova.core:NOVA-Core:${nova_version}:wrappertests"
}
nova {
wrappers {
"17" {
wrapper "nova.core:NOVA-Core-Wrapper-MC1.7:$nova_version"
runtime project(":minecraft:1.7.10")
}
"18" {
wrapper "nova.core:NOVA-Core-Wrapper-MC1.8:$nova_version"
runtime project(":minecraft:1.8")
}
"1_11" {
// wrapper "nova.core:NOVA-Core-Wrapper-MC1.11:$nova_version" // Not yet implemented
runtime project(":minecraft:1.11")
}
}
}
publishing {
publications {
main(MavenPublication) {
from components.java
artifactId "NOVA-Commands"
artifact sourcesJar
artifact javadocJar
pom.withXml(writePom(project.properties))
}
}
}
artifactory {
publish {
defaults {
publications("main")
publishPom = true
}
}
}