-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
50 lines (41 loc) · 938 Bytes
/
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
plugins {
id "java"
id "nova.gradle" version "0.2.5"
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(novaVersion)
//We use nova.internal package
compile 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"
}
"18" {
wrapper "nova.core:NOVA-Core-Wrapper-MC1.8:$novaVersion"
}
}
}
publishing {
publications {
main(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
pom.withXml(writePom(project.properties))
}
}
}
artifactory {
publish {
defaults {
publications("main")
publishPom = true
}
}
}