-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
42 lines (35 loc) · 880 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
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'java'
id 'maven-publish'
}
group 'cc.lynzie'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven { url "https://papermc.io/repo/repository/maven-public/" }
}
compileJava {
options.compilerArgs += ["-parameters"]
options.fork = true
options.forkOptions.executable = 'javac'
}
dependencies {
compileOnly "io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT"
implementation "co.aikar:acf-paper:0.5.0-SNAPSHOT"
}
shadowJar {
relocate 'co.aikar.commands', 'cc.lynzie.minigame.acf'
relocate 'co.aikar.locale', 'cc.lynzie.minigame.acf.locales'
}
test {
useJUnitPlatform()
}
publishing {
publications {
library(MavenPublication) {
from components.java
}
}
}