-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (36 loc) · 1003 Bytes
/
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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
group 'me.kaliber'
version '1.0'
repositories {
mavenCentral()
maven {
url 'https://papermc.io/repo/repository/maven-public/'
}
maven {
url 'https://repo.extendedclip.com/content/repositories/placeholderapi'
}
}
dependencies {
// command framework
implementation 'me.mattstudios.utils:matt-framework:1.4'
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.10.9'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
shadowJar {
minimize()
relocate 'me.mattstudios.mf', 'me.kaliber.libs'
archiveFileName = "ChanceCommands-${project.version}.jar"
}