-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
39 lines (31 loc) · 1.12 KB
/
build.gradle
File metadata and controls
39 lines (31 loc) · 1.12 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.2.0' apply false
id 'io.kotest' version '6.0.1' apply false
id 'com.diffplug.spotless' version "7.2.1" apply false
id "org.jlleitschuh.gradle.ktlint" version "13.1.0" apply false
id 'idea'
}
group = 'org.eventhorizonlab.kyoriadventuredsl'
version = '1.0-SNAPSHOT'
subprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'io.kotest'
apply plugin: 'com.diffplug.spotless'
apply plugin: 'org.jlleitschuh.gradle.ktlint'
kotlin {
jvmToolchain(23)
}
test {
useJUnitPlatform()
}
apply from: rootProject.file('gradle/repositories.gradle')
apply from: rootProject.file('gradle/versions.gradle')
apply from: rootProject.file('gradle/dependencies.gradle')
tasks.withType(Jar).configureEach {
archiveBaseName.set("${rootProject.name}-${project.name}")
archiveVersion.set(rootProject.version as String)
destinationDirectory.set(rootProject.layout.buildDirectory.dir("libs"))
}
apply from: rootProject.file('gradle/spotless.gradle')
}
apply from: 'gradle/tasks.gradle'