-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (42 loc) · 913 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 'findbugs'
id 'maven-publish'
id 'ivy-publish'
}
sourceCompatibility = 1.7
version = '0.0.1'
group = "com.archivesmc.cursedenchants"
repositories {
mavenCentral()
maven {
url "https://hub.spigotmc.org/nexus/content/groups/public"
name "Spigot"
}
}
publishing {
publications {
ivyJava(IvyPublication) {
from components.java
}
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
ivy {
url "/var/www/gserv/cherry/repos/ivy/"
}
maven {
url "/var/www/gserv/cherry/repos/maven/"
}
}
}
defaultTasks 'clean', 'build', 'jar'
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile "org.spigotmc:spigot-api:1.8.3-R0.1-SNAPSHOT"
}
jar {
from sourceSets.main.java
}