-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (45 loc) · 1.32 KB
/
build.gradle
File metadata and controls
53 lines (45 loc) · 1.32 KB
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
plugins {
id 'java'
id 'io.freefair.lombok' version "8.6"
id 'io.github.goooler.shadow' version '8.1.7'
}
group = 'net.coma112.cad'
version = '1.0.2'
repositories {
mavenCentral()
maven {
name = "papermc-repo"
url = "https://repo.papermc.io/repository/maven-public/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/groups/public/"
}
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.18.32'
compileOnly('com.github.MilkBowl:VaultAPI:1.7.1') { exclude group: 'org.bukkit', module: 'bukkit' }
implementation 'com.github.Revxrsal.Lamp:common:3.2.1'
implementation 'com.github.Revxrsal.Lamp:bukkit:3.2.1'
implementation group: 'com.zaxxer', name: 'HikariCP', version: '5.1.0'
implementation 'mysql:mysql-connector-java:8.0.33'
implementation 'com.github.Anon8281:UniversalScheduler:0.1.6'
implementation 'org.bstats:bstats-bukkit:3.0.2'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
compileJava {
options.compilerArgs += ["-parameters"]
}
shadowJar {
relocate 'org.bstats', 'net.coma112.cad'
minimize()
}
tasks.build {
dependsOn shadowJar
}