-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (45 loc) · 1.23 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
buildscript {
repositories {
mavenCentral()
jcenter()
}
}
plugins {
id 'java'
id 'maven'
id 'com.github.johnrengelman.shadow' version '1.2.2'
id 'eclipse'
}
group 'org.simplemc'
version '0.3.0_2-SNAPSHOT'
repositories {
// Maven local - Lets us test local changes to shared libs before deploying
mavenLocal()
// Maven Central - Contains thousands of maven projects for various dependencies
mavenCentral()
// Sonatype Repo Repo - Our Dependencies: Spigot-API
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
// MD_5 Repo - Our Dependencies: Spigot-API
maven {
url "http://repo.md-5.net/content/groups/public/"
}
// Spigot Repo - Our Dependencies: Spigot-API
maven {
url "https://hub.spigotmc.org/nexus/content/groups/public/"
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
shadowJar {
baseName = 'simplecensor-all'
classifier = ''
dependencies {
exclude(dependency('org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'))
}
}
dependencies {
compile 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
}
build.dependsOn(shadowJar)