-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (45 loc) · 1.45 KB
/
build.gradle
File metadata and controls
54 lines (45 loc) · 1.45 KB
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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:6.0.0"
}
}
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "6.0.0"
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
group 'de.mark225'
version 'v1.3.1-alpha'
repositories {
mavenCentral()
maven {url "https://hub.spigotmc.org/nexus/content/repositories/snapshots"}
maven { url 'https://jitpack.io' }
maven { url "https://maven.enginehub.org/repo/" }
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly "org.bukkit:bukkit:1.13-R0.1-SNAPSHOT"
implementation 'com.github.BlueMap-Minecraft:BlueMapAPI:v1.1.0'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.0'
// https://mvnrepository.com/artifact/org.apache.commons/commons-text
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.9'
}
configurations {
runtime.exclude group: 'com.github.BlueMap-Minecraft'
}
shadowJar{
dependencies {
exclude(dependency('com.github.BlueMap-Minecraft:BlueMapAPI:v1.1.0'))
exclude(dependency('com.sk89q.worldguard:worldguard-bukkit:7.0.0'))
exclude(dependency('org.bukkit:bukkit:1.13-R0.1-SNAPSHOT'))
}
relocate 'org.apache', 'de.mark225.shadow.org.apache'
}