-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
38 lines (31 loc) · 885 Bytes
/
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
plugins {
`java-library`
id("io.freefair.lombok") version "8.11" apply false // https://plugins.gradle.org/plugin/io.freefair.lombok
id("com.gradleup.shadow") version "8.3.5" // https://github.com/GradleUp/shadow
}
allprojects {
group = "com.andrew121410.ccbot"
version = "1.0"
}
subprojects {
apply(plugin = "java-library")
apply(plugin = "io.freefair.lombok")
apply(plugin = "com.gradleup.shadow")
repositories {
mavenCentral()
gradlePluginPortal()
maven {
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
url = uri("https://jitpack.io")
}
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
}