sample-service-consumer/build.gradle.kts
Torma Kristóf e0853f8a40
All checks were successful
continuous-integration/drone/push Build is passing
init
2021-08-13 14:19:40 +02:00

46 lines
1.2 KiB
Plaintext

plugins {
application
kotlin("jvm") version "1.5.10"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
application {
mainClassName = "MainKt"
}
group = "com.kmlabz"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation("com.rabbitmq:amqp-client:5.13.0")
implementation("com.viartemev:the-white-rabbit:0.0.6")
implementation("com.zaxxer:HikariCP:5.0.0")
implementation("org.jetbrains.exposed:exposed-core:0.33.1")
implementation("org.jetbrains.exposed:exposed-dao:0.33.1")
implementation("org.jetbrains.exposed:exposed-jdbc:0.33.1")
implementation("org.jetbrains.exposed:exposed-java-time:0.33.1")
implementation("io.insert-koin:koin-core:3.1.2")
implementation("org.postgresql:postgresql:42.2.23")
implementation("com.google.code.gson:gson:2.8.7")
}
tasks {
named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
archiveBaseName.set("sample-service-consumer")
classifier = null
version = null
mergeServiceFiles()
manifest {
attributes(mapOf("Main-Class" to "Main"))
}
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
}