-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
49 lines (44 loc) · 1.07 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.spring)
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependency.management)
}
group = "io.github.kamo"
version = "1.0.0"
repositories {
mavenCentral()
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
all {
resolutionStrategy.cacheChangingModulesFor(0, "seconds")
}
}
dependencies {
implementation(libs.springboot.starter)
implementation(libs.springboot.autoconfigure)
implementation(libs.ktor.server.netty)
api(libs.ktor.server.core)
annotationProcessor(libs.springboot.configurationprocessor)
testImplementation(libs.springboot.starter.test)
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
}
}
kotlin {
jvmToolchain(8)
}
buildscript {
dependencies {
classpath("com.github.dcendents:android-maven-gradle-plugin:2.1")
}
}