-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (34 loc) · 1.09 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'io.greitan'
version = project.hasProperty('VERSION') ? project.VERSION : 'UNKNOWN'
repositories {
mavenCentral()
maven {
name = "CodeMC"
url = uri("https://repo.codemc.io/repository/maven-public/")
}
maven {
name = "PaperMC"
url = "https://repo.papermc.io/repository/maven-public/"
}
maven {
name = "PlaceholderAPI"
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
}
dependencies {
compileOnly('io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT')
compileOnly('me.clip:placeholderapi:2.11.5')
compileOnly('org.projectlombok:lombok:1.18.30')
annotationProcessor('org.projectlombok:lombok:1.18.30')
implementation('com.fasterxml.jackson.core:jackson-databind:2.15.2')
implementation('com.fasterxml.jackson.core:jackson-core:2.15.2')
}
task deleteUnusableJar(type: Delete) {
delete "build/libs/GeyserVoice-"+version+".jar"
}
build.finalizedBy deleteUnusableJar
build.finalizedBy shadowJar