forked from openrs2/openrs2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.9 KiB
55 lines
1.9 KiB
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(":http"))
|
|
implementation(project(":inject"))
|
|
implementation(project(":json"))
|
|
implementation(project(":net"))
|
|
implementation(project(":protocol"))
|
|
implementation(project(":util"))
|
|
implementation("com.google.guava:guava:${Versions.guava}")
|
|
implementation("com.zaxxer:HikariCP:${Versions.hikaricp}")
|
|
implementation("io.ktor:ktor-jackson:${Versions.ktor}")
|
|
implementation("io.ktor:ktor-server-netty:${Versions.ktor}")
|
|
implementation("io.ktor:ktor-thymeleaf:${Versions.ktor}")
|
|
implementation("io.ktor:ktor-webjars:${Versions.ktor}")
|
|
implementation("org.flywaydb:flyway-core:${Versions.flyway}")
|
|
implementation("org.jdom:jdom2:${Versions.jdom}")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}")
|
|
implementation("org.jsoup:jsoup:${Versions.jsoup}")
|
|
implementation("org.postgresql:postgresql:${Versions.postgres}")
|
|
implementation("org.thymeleaf:thymeleaf:${Versions.thymeleaf}")
|
|
implementation("org.thymeleaf.extras:thymeleaf-extras-java8time:${Versions.thymeleafJava8Time}")
|
|
implementation("org.webjars:bootstrap:${Versions.bootstrap}")
|
|
}
|
|
|
|
publishing {
|
|
publications.create<MavenPublication>("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()
|
|
)
|
|
}
|
|
}
|
|
}
|
|
|