-
Notifications
You must be signed in to change notification settings - Fork 20
/
settings.gradle.kts
43 lines (36 loc) · 1.51 KB
/
settings.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
rootProject.name = "spring-kotlin-exposed"
include("rest-api")
pluginManagement {
// see: https://github.com/ilya40umov/KotLink/blob/master/settings.gradle.kts
val kotlinVersion = "1.4.10"
val springBootVersion = "2.3.5.RELEASE"
plugins {
kotlin("jvm") version kotlinVersion
id("tanvd.kosogor") version "1.0.7"
id("io.gitlab.arturbosch.detekt") version "1.14.2"
id("org.owasp.dependencycheck") version "6.0.3"
id("com.avast.gradle.docker-compose") version "0.13.4"
id("com.github.ben-manes.versions") version "0.34.0"
id("org.jetbrains.dokka") version "1.4.10.2"
// spring
id("io.spring.dependency-management") version "1.0.10.RELEASE"
id("org.springframework.boot") version springBootVersion
// spring-kotlin
// kotlin: spring (proxy) related plugins see: https://kotlinlang.org/docs/reference/compiler-plugins.html
id("org.jetbrains.kotlin.plugin.spring") version kotlinVersion
id("org.jetbrains.kotlin.plugin.noarg") version kotlinVersion
id("org.jetbrains.kotlin.plugin.allopen") version kotlinVersion
// ak-artifactory
//id("com.jfrog.artifactory") version "4.9.6"
}
resolutionStrategy {
eachPlugin {
if(requested.id.id.startsWith("org.jetbrains.kotlin")) {
useVersion(kotlinVersion)
}
if (requested.id.id == "org.springframework.boot") {
useVersion(springBootVersion)
}
}
}
}