32 lines
707 B
Plaintext
32 lines
707 B
Plaintext
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.9.21"
|
|
id("com.github.johnrengelman.shadow") version "8.1.1"
|
|
}
|
|
|
|
group = "net.koval.teamcity-executors-test-task"
|
|
version = System.getenv("BACKUP_VERSION")
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("aws.sdk.kotlin:s3:1.0.25")
|
|
implementation("org.slf4j:slf4j-simple:2.0.9")
|
|
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")
|
|
}
|
|
} |