plugins { `maven-publish` application kotlin("jvm") } application { mainClass.set("org.openrs2.archive.ArchiveCommandKt") } dependencies { api("com.github.ajalt.clikt:clikt:${Versions.clikt}") implementation(project(":buffer")) implementation(project(":cache")) implementation(project(":cli")) implementation(project(":db")) implementation(project(":json")) implementation(project(":net")) implementation(project(":protocol")) implementation(project(":util")) implementation("com.google.guava:guava:${Versions.guava}") implementation("org.flywaydb:flyway-core:${Versions.flyway}") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") implementation("org.postgresql:postgresql:${Versions.postgres}") } publishing { publications.create("maven") { from(components["java"]) pom { packaging = "jar" name.set("OpenRS2 Archive") description.set( """ Service for archiving clients, caches and XTEA keys in an efficient deduplicated format. """.trimIndent() ) } } }