-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
52 lines (42 loc) · 899 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
51
52
plugins {
id "scala"
id "nova.gradle" version "0.2.5"
id "maven-publish"
id "com.jfrog.artifactory" version "3.1.1"
}
build.dependsOn scaladoc
apply from: "https://raw.githubusercontent.com/NOVA-Team/NOVA-Gradle/master/shared-scripts/java.gradle"
dependencies {
compile "org.scala-lang:scala-library:2.11.7"
compile "nova.core:NOVA-Core:$novaVersion"
testCompile "nova.core:NOVA-Core:$novaVersion:wrappertests"
}
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
artifactId "NOVA-Scala"
artifact sourcesJar
artifact javadocJar
pom.withXml(writePom(project.properties))
}
}
}
artifactory {
publish {
defaults {
publications("main")
publishPom = true
}
}
}