-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
51 lines (40 loc) · 1.29 KB
/
build.gradle.kts
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id("java-library")
id("io.papermc.paperweight.userdev") version "1.4.1"
id("xyz.jpenilla.run-paper") version "2.0.1"
id("io.freefair.lombok") version "6.6.1"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "me.redstom"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://repo.codemc.io/repository/maven-snapshots/")
}
dependencies {
paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.20.1-R0.1-SNAPSHOT")
implementation("com.github.stefvanschie.inventoryframework:IF:0.10.11")
compileOnly("org.hibernate.orm:hibernate-core:6.2.7.Final")
compileOnly("org.hibernate.orm:hibernate-community-dialects:6.2.7.Final")
compileOnly("org.postgresql:postgresql:42.6.0")
compileOnly("com.google.inject:guice:7.0.0")
}
tasks {
assemble {
dependsOn("reobfJar")
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
}
tasks.withType<ShadowJar> {
relocate("com.github.stefvanschie.inventoryframework", "me.redstom.inventoryframework")
}