-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
36 lines (30 loc) · 1.12 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
import org.springframework.boot.gradle.tasks.bundling.BootBuildImage
plugins {
id("de.cofinpro.spring-native.common-conventions")
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependency.management)
alias(libs.plugins.graalvm.buildtools)
}
group = "de.cofinpro"
version = "0.3.3-SNAPSHOT"
dependencies {
implementation(libs.spring.boot.web)
implementation(libs.spring.boot.jpa)
implementation(libs.spring.boot.validation)
implementation(libs.spring.boot.oauth2.resource)
implementation(libs.spring.boot.actuator)
compileOnly(libs.lombok)
developmentOnly(libs.spring.boot.devtools)
runtimeOnly(libs.postgresql)
annotationProcessor(libs.spring.boot.configuration.processor)
annotationProcessor(libs.lombok)
testImplementation(libs.spring.boot.test)
testImplementation(libs.spring.security.test)
}
val dockerHubRepo = "wisskirchenj/"
tasks.named<BootBuildImage>("bootBuildImage") {
builder.set("dashaun/builder:tiny")
imageName.set(dockerHubRepo + rootProject.name + ":" + version)
createdDate.set("now")
environment.put("BP_NATIVE_IMAGE", "true")
}