-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
47 lines (39 loc) · 1.22 KB
/
build.gradle
File metadata and controls
47 lines (39 loc) · 1.22 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'java'
}
group = 'de.mark225'
version = 'v1.0-alpha'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven { url 'https://jitpack.io' }
maven { url 'https://maven.enginehub.org/repo/'}
maven { url 'https://repo.minebench.de/'}
}
dependencies {
implementation 'org.spigotmc:spigot-api:1.14-R0.1-SNAPSHOT'
implementation 'com.github.BlueMap-Minecraft:BlueMapAPI:v1.6.0'
implementation 'com.sk89q.worldedit:worldedit-bukkit:7.0.0'
implementation 'de.themoep:minedown:1.7.1-SNAPSHOT'
implementation 'org.jetbrains:annotations:20.1.0'
}
processResources {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
build.dependsOn shadowJar
shadowJar{
dependencies {
include(dependency('de.themoep:minedown:1.7.1-SNAPSHOT'))
}
relocate "de.themoep.minedown", "de.mark225.shadow.de.themoep.minedown"
}