forked from Realizedd/DE-Placeholders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (46 loc) · 1.2 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
57
58
import org.apache.tools.ant.filters.ReplaceTokens
group 'me.realized.de'
version '1.0.4'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
processResources {
from(sourceSets.main.resources.srcDirs) {
include '**/*.yml'
filter(ReplaceTokens, tokens: [VERSION: project.version])
}
}
repositories {
mavenCentral()
maven {
name 'spigot-repo'
url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots'
}
maven {
name 'bungeecord-repo'
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
name 'clip-repo'
url 'http://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
name 'jitpack-repo'
url 'https://jitpack.io'
}
flatDir {
dirs "$rootDir/libs/"
}
}
dependencies {
compile 'org.projectlombok:lombok:1.18.22'
compile 'org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT'
compile 'me.clip:placeholderapi:2.11.1'
compile (name: 'MVdWPlaceholderAPI-3.1.1') {
transitive = false
}
compile 'com.github.Realizedd.Duels:duels-api:3.5.1'
}
jar {
archiveName = archiveName.replace("DE-", "")
}