-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
51 lines (41 loc) · 1.21 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
group 'com.outdatedversion'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
String basePackage = 'com.outdatedversion'
processResources {
filter ReplaceTokens, tokens: [
main : basePackage + '.AlgorithmVisualizerPlugin',
author : 'OutdatedVersion',
version: project.version
]
}
compileJava {
options.compilerArgs += ["-parameters"]
options.fork = true
options.forkOptions.executable = 'javac'
}
repositories {
mavenCentral()
maven {
url 'https://papermc.io/repo/repository/maven-public/'
}
maven {
url 'https://repo.aikar.co/content/groups/aikar/'
}
}
dependencies {
compile "co.aikar:acf-paper:0.5.0-SNAPSHOT"
compile 'org.jetbrains:annotations:16.0.2'
compileOnly 'org.projectlombok:lombok:1.18.16'
compileOnly group: 'com.destroystokyo.paper', name: 'paper-api', version: '1.16.4-R0.1-SNAPSHOT'
annotationProcessor 'org.projectlombok:lombok:1.18.16'
}
shadowJar {
relocate 'co.aikar.commands', basePackage + '.acf'
relocate 'co.aikar.locales', basePackage + '.locales'
}