-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (56 loc) · 1.68 KB
/
build.gradle
File metadata and controls
64 lines (56 loc) · 1.68 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
64
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'com.gradleup.shadow' version '9.3.0'
}
group = 'jp.simplespace'
version = '1.8.0'
repositories {
mavenCentral()
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
maven {
name 'papermc'
url 'https://repo.papermc.io/repository/maven-public/'
}
maven {
url 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'jitpack.io'
url = 'https://jitpack.io'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.21.11-R0.1-SNAPSHOT'
implementation 'org.openjdk.nashorn:nashorn-core:15.4'
compileOnly 'io.github.waterfallmc:waterfall-api:1.18-R0.1-SNAPSHOT'
compileOnly 'com.velocitypowered:velocity-api:3.1.0'
annotationProcessor 'com.velocitypowered:velocity-api:3.1.0'
compileOnly 'org.yaml:snakeyaml:2.2'
compileOnly 'com.github.proxiodev.redisbungee:RedisBungee-Bungee:0.10.1'
compileOnly 'com.github.proxiodev.redisbungee:RedisBungee-Velocity:0.10.1'
implementation 'com.github.fracpete:jshell-scripting:0.1.2'
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}