-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (48 loc) · 1.48 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
54
55
56
57
58
59
60
61
62
63
64
65
66
plugins {
id 'java'
id ("com.github.johnrengelman.shadow") version "8.0.0"
}
group = 'ru.saydov.itemreplacer'
version = '1.0-SNAPSHOT'
apply from: new File("libs.gradle")
repositories {
mavenCentral()
maven { url = "https://jitpack.io" }
maven { url = "https://hub.spigotmc.org/nexus/content/groups/public/" }
maven { url = "https://papermc.io/repo/repository/maven-public/" }
}
dependencies {
compileOnly libs.bukkit
compileOnly libs."plugin-annotations"
implementation libs.guice
implementation libs.fastutil
implementation libs.kyori
implementation libs.slf4j
implementation libs.commandframework.core
implementation libs.commandframework.bukkit
implementation libs.commandframework.minecraft
implementation libs.jackson.core
implementation libs.jackson.annotations
implementation libs.jackson."dataformat-yaml"
compileOnly libs.lombok
compileOnly libs.jetbrains
annotationProcessor libs.lombok
annotationProcessor libs.jetbrains
annotationProcessor libs."plugin-annotations"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks {
compileJava { options.encoding = 'UTF-8' }
shadowJar {
archiveFileName = 'ItemReplacer.jar'
['cloud.commandframework'].each {
relocate(it, "${rootProject.group}.itemsreplacer.shaded.${it.tokenize('.').last()}")
}
}
build {
dependsOn shadowJar
}
}