-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathbuild.gradle
59 lines (46 loc) · 1.59 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.0.1'
}
allprojects {
group = 'ru.brikster'
version = '3.0.0-SNAPSHOT'
}
subprojects {
pluginManager.apply('java-library')
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
tasks {
compileJava {
options.encoding = 'UTF-8'
}
compileTestJava {
options.encoding = 'UTF-8'
}
}
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven {
name = "sonatype-oss-snapshots1"
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
}
}
def adventureVersion = "4.17.0"
def adventureBukkitPlatformVersion = "4.3.4"
dependencies {
compileOnlyApi 'org.jetbrains:annotations:17.0.0'
implementation "net.kyori:adventure-api:$adventureVersion"
implementation "net.kyori:adventure-text-minimessage:$adventureVersion"
implementation "net.kyori:adventure-text-serializer-gson:$adventureVersion"
implementation "net.kyori:adventure-platform-bukkit:$adventureBukkitPlatformVersion"
compileOnly 'org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT'
implementation 'com.google.inject:guice:5.1.0'
implementation 'com.google.guava:guava:30.1-jre'
compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
}
}