-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
36 lines (30 loc) · 809 Bytes
/
build.gradle.kts
File metadata and controls
36 lines (30 loc) · 809 Bytes
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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.1.0" apply false
kotlin("plugin.serialization") version "2.1.0" apply false
id("com.gradleup.shadow") version "8.3.5" apply false
}
allprojects {
group = "com.icosisenpai.kometamanga"
version = "1.0.0"
repositories {
mavenCentral()
gradlePluginPortal()
}
}
subprojects {
tasks.withType<KotlinCompile> {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
freeCompilerArgs.addAll("-Xjsr305=strict")
}
}
tasks.withType<JavaCompile> {
sourceCompatibility = "21"
targetCompatibility = "21"
}
tasks.withType<Test> {
useJUnitPlatform()
}
}