-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
60 lines (51 loc) · 1.49 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
}
plugins {
val kotlinVersion = "1.4.30"
val springVersion = "2.4.2"
id("org.springframework.boot") version springVersion apply false
id("io.spring.dependency-management") version "1.0.10.RELEASE" apply false
id("name.remal.check-updates") version "1.0.211" apply false
id("com.github.johnrengelman.processes") version "0.5.0" apply false
id("org.springdoc.openapi-gradle-plugin") version "1.3.0" apply false
kotlin("jvm") version kotlinVersion apply false
kotlin("plugin.spring") version kotlinVersion apply false
kotlin("plugin.jpa") version kotlinVersion apply false
}
allprojects {
group = "com.cip"
version = "1.0.0"
tasks.withType<JavaCompile> {
sourceCompatibility = "14"
targetCompatibility = "14"
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "14"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
}
subprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
url = uri("https://jitpack.io")
}
}
apply {
plugin("io.spring.dependency-management")
plugin("name.remal.check-updates")
plugin("com.github.johnrengelman.processes")
plugin("org.springdoc.openapi-gradle-plugin")
}
}