-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (43 loc) · 1.26 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
plugins {
id 'com.github.johnrengelman.shadow' version '4.0.4'
id 'java'
}
group = pluginGroup
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
name = 'destroystokyo-repo'
url = 'https://repo.destroystokyo.com/repository/maven-public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven { url 'https://jitpack.io' }
}
compileJava {
options.compilerArgs += ["-parameters"]
options.fork = true
options.forkOptions.executable = 'javac'
}
dependencies {
shadow fileTree(dir: 'libs', include: ['*.jar'])
shadow 'com.destroystokyo.paper:paper-api:1.13.2-R0.1-SNAPSHOT'
compile "co.aikar:acf-paper:0.5.0-SNAPSHOT"
implementation 'com.github.amogilev:yagson:67167a988c'
shadow files("${System.getProperty('java.home')}/../lib/tools.jar")
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
shadowJar {
relocate 'co.aikar.commands', 'me.skriptinsight.acf'
}
build.dependsOn shadowJar