This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2023-12-29 12:43:54 +00:00
|
|
|
plugins {
|
2023-12-30 06:36:49 +00:00
|
|
|
application
|
2023-12-29 12:43:54 +00:00
|
|
|
kotlin("jvm") version "1.9.21"
|
2023-12-30 06:36:49 +00:00
|
|
|
id("org.jlleitschuh.gradle.ktlint") version "12.0.3"
|
2023-12-29 12:43:54 +00:00
|
|
|
id("com.github.johnrengelman.shadow") version "8.1.1"
|
|
|
|
}
|
|
|
|
|
2023-12-29 15:43:53 +00:00
|
|
|
group = "net.koval.teamcity-executors-test-task"
|
|
|
|
version = System.getenv("BACKUP_VERSION")
|
2023-12-29 12:43:54 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("aws.sdk.kotlin:s3:1.0.25")
|
2023-12-30 16:19:29 +00:00
|
|
|
implementation("org.slf4j:slf4j-simple:2.0.9") // AWS SDK wants a SLF4J provider.
|
2023-12-29 12:43:54 +00:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
2023-12-30 06:36:49 +00:00
|
|
|
implementation("com.github.ajalt.clikt:clikt:4.2.1")
|
2023-12-29 12:43:54 +00:00
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
|
|
|
}
|
2023-12-30 06:36:49 +00:00
|
|
|
application {
|
|
|
|
mainClass.set("MainKt")
|
2023-12-29 12:43:54 +00:00
|
|
|
}
|