-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
44 lines (35 loc) · 991 Bytes
/
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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group 'com.senderman'
version '3.7.2'
repositories {
mavenCentral()
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
}
dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
compileOnly 'io.papermc.paper:paper-api:1.18-R0.1-SNAPSHOT'
}
shadowJar {
mergeServiceFiles()
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
targetCompatibility = JavaVersion.toVersion("17")
}