Skip to content

Commit bc22197

Browse files
committed
Add docker config
1 parent 6fd4485 commit bc22197

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import com.google.cloud.tools.gradle.appengine.appyaml.AppEngineAppYamlExtension
33
val ktor_version: String by project
44
val kotlin_version: String by project
55
val logback_version: String by project
6+
val v = "0.0.1"
67

78
plugins {
89
application
@@ -15,7 +16,7 @@ plugins {
1516

1617
group = "com.flycode.languagetoolserver"
1718

18-
version = "0.0.1"
19+
version = v
1920

2021
application {
2122
mainClass.set("com.flycode.languagetoolserver.ApplicationKt")
@@ -48,3 +49,11 @@ configure<AppEngineAppYamlExtension> {
4849
projectId = "GCLOUD_CONFIG"
4950
}
5051
}
52+
53+
ktor {
54+
docker {
55+
localImageName.set("langauge-tool-server")
56+
imageTag.set(v)
57+
jreVersion.set(io.ktor.plugin.features.JreVersion.JRE_17)
58+
}
59+
}

0 commit comments

Comments
 (0)