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("shadowJar") { archiveBaseName.set("output-service-rdb-consumer") classifier = null version = null mergeServiceFiles() manifest { attributes(mapOf("Main-Class" to "Main")) } } compileKotlin { kotlinOptions.jvmTarget = "11" } }