build.gradle (1355B)
1 plugins { 2 id("kotlin") 3 id("org.jetbrains.kotlin.plugin.serialization") version "$kotlin_version" 4 } 5 6 version = rootProject.version 7 8 java { 9 sourceCompatibility = JavaVersion.VERSION_17 10 targetCompatibility = JavaVersion.VERSION_17 11 } 12 13 compileKotlin.kotlinOptions.jvmTarget = "17" 14 compileTestKotlin.kotlinOptions.jvmTarget = "17" 15 16 sourceSets.main.java.srcDirs = ["src/main/kotlin"] 17 18 dependencies { 19 // Core language libraries 20 implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") 21 22 implementation(project(":libeufin-common")) 23 24 // Command line parsing 25 implementation("com.github.ajalt.clikt:clikt:$clikt_version") 26 implementation("org.postgresql:postgresql:$postgres_version") 27 28 // Ktor client library 29 implementation("io.ktor:ktor-client-cio:$ktor_version") 30 implementation("io.ktor:ktor-client-mock:$ktor_version") 31 implementation("io.ktor:ktor-client-websockets:$ktor_version") 32 33 // PDF generation 34 implementation("com.itextpdf:itext-core:9.3.0") 35 36 // Serialization 37 implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version") 38 39 40 // Unit testing 41 implementation("org.jetbrains.kotlin:kotlin-test:$kotlin_version") 42 testImplementation("io.ktor:ktor-server-test-host:$ktor_version") 43 testImplementation("io.ktor:ktor-server-cio:$ktor_version") 44 }