-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (52 loc) · 1.61 KB
/
build.gradle
File metadata and controls
63 lines (52 loc) · 1.61 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
53
54
55
56
57
58
59
60
61
62
63
plugins {
id 'java'
id("io.github.goooler.shadow") version "8.1.8"
id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
}
group = 'net.flectone'
version = '3.0.0-snapshot'
repositories {
mavenCentral()
maven {
name = "papermc-repo"
url = "https://repo.papermc.io/repository/maven-public/"
}
maven { url 'https://jitpack.io' }
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/groups/public/"
}
maven { url = uri("https://repo.codemc.io/repository/maven-releases/") }
maven { url = uri("https://repo.codemc.io/repository/maven-snapshots/") }
}
dependencies {
pluginRemapper "net.fabricmc:tiny-remapper:0.10.4:fat"
paperweight.paperDevBundle "1.21.11-R0.1-SNAPSHOT"
//compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
compileOnly "org.projectlombok:lombok:1.18.34"
annotationProcessor "org.projectlombok:lombok:1.18.34"
implementation "com.github.Anon8281:UniversalScheduler:0.1.7"
implementation "com.google.inject:guice:7.0.0"
implementation "com.zaxxer:HikariCP:4.0.3"
implementation "net.elytrium:serializer:1.1.1"
implementation "com.github.retrooper:packetevents-spigot:2.11.1-SNAPSHOT"
}
java {
sourceCompatibility = "21"
targetCompatibility = "21"
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('paper-plugin.yml') {
expand props
}
}
shadowJar {
archiveClassifier.set("")
minimize()
}