-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
54 lines (45 loc) · 1.37 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group = 'com.yakovliam'
version = '1.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven {
name = 'papermc-repo'
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
url = 'https://repo.extendedclip.com/content/repositories/public/'
}
}
dependencies {
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.10.9'
compileOnly 'me.clip:deluxechat:1.14.4'
// adventure
implementation 'net.kyori:adventure-api:4.9.1'
implementation 'net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT'
implementation 'org.bstats:bstats-bukkit:2.2.1'
}
shadowJar {
archiveBaseName.set('DeluxeChatHex-' + version)
archiveClassifier.set('')
archiveVersion.set('')
relocate 'net.kyori', 'com.yakovliam.deluxechathex.lib.kyori'
relocate 'org.bstats', 'com.yakovliam.deluxechathex.lib.bstats'
}
processResources {
filter ReplaceTokens, tokens: [version: version]
}