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 15:43:53 +00:00
|
|
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
|
2023-12-29 12:43:54 +00:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version "1.9.21"
|
|
|
|
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-29 15:43:53 +00:00
|
|
|
implementation("org.slf4j:slf4j-simple:2.0.9")
|
2023-12-29 12:43:54 +00:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
|
|
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(17)
|
|
|
|
}
|
|
|
|
tasks.jar {
|
|
|
|
manifest {
|
|
|
|
attributes("Main-Class" to "backup.MainKt")
|
|
|
|
}
|
|
|
|
}
|