-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (45 loc) · 1.23 KB
/
build.gradle
File metadata and controls
54 lines (45 loc) · 1.23 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
build.dependsOn shadowJar
group = 'ltd.rymc.wss'
version = '1.0.1'
repositories {
mavenCentral()
maven {
name = "spigotmc-repo"
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
}
maven {
name = "elytrium-repo"
url = "https://maven.elytrium.net/repo"
}
maven {
name = "aikar-repo"
url = "https://repo.aikar.co/content/groups/aikar/"
}
}
dependencies {
compileOnly "org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT"
implementation "cn.bigmodel.openapi:oapi-java-sdk:release-V4-2.3.0"
implementation "net.elytrium:elytrium-java-commons:1.0.8"
implementation "co.aikar:acf-paper:0.5.1-SNAPSHOT"
compileOnly "org.projectlombok:lombok:1.18.30"
annotationProcessor "org.projectlombok:lombok:1.18.30"
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}