-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (34 loc) · 1.09 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
val kotlin_version: String by project
val logback_version: String by project
val vips_ffm_version: String by project
plugins {
kotlin("jvm") version "2.1.0"
id("io.ktor.plugin") version "3.0.2"
id("me.qoomon.git-versioning") version "6.4.3"
}
group = "com.ashampoo.imageproxy"
version = "0.0.1"
gitVersioning.apply {
refs {
/* Release / tags have real version numbers */
tag("v(?<version>.*)") {
version = "\${ref.version}"
}
}
}
application {
mainClass.set("com.ashampoo.imageproxy.ApplicationKt")
val isDevelopment: Boolean = project.ext.has("development")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=$isDevelopment")
}
repositories {
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-server-core-jvm")
implementation("io.ktor:ktor-server-auth-jvm")
implementation("io.ktor:ktor-server-netty-jvm")
implementation("io.ktor:ktor-client-okhttp")
implementation("app.photofox.vips-ffm:vips-ffm-core:$vips_ffm_version")
implementation("ch.qos.logback:logback-classic:$logback_version")
}