-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
45 lines (37 loc) · 1.15 KB
/
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
39
40
41
42
43
44
45
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.1.1" apply false
id("io.spring.dependency-management") version "1.1.0" apply false
kotlin("jvm") version "1.8.21" apply false
kotlin("plugin.spring") version "1.8.21" apply false
kotlin("plugin.jpa") version "1.8.21" apply false
id("com.netflix.dgs.codegen") version "5.10.0" apply false
}
allprojects {
repositories {
mavenCentral()
}
group = "com.cubetiqs"
version = "0.0.1-SNAPSHOT"
val javaVersion = "17"
tasks.withType<JavaCompile> {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = javaVersion
}
}
}
subprojects {
apply {
plugin("io.spring.dependency-management")
}
the<io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension>().apply {
imports {
mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
}
}
}