37 lines
873 B
Plaintext
37 lines
873 B
Plaintext
plugins {
|
|
kotlin("jvm") version "2.0.10"
|
|
}
|
|
|
|
group = "io.unitedgold"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
// 3 custom repositories for unitedgold.io components:
|
|
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
|
maven("https://maven.universablockchain.com")
|
|
maven("https://gitea.sergeych.net/api/packages/YoungBlood/maven")
|
|
// end of unitedgold.io required repositories
|
|
}
|
|
|
|
val apiVersion = "0.0.1-SNAPSHOT"
|
|
|
|
dependencies {
|
|
// The API library
|
|
implementation("io.unitedgold.api:shared:$apiVersion")
|
|
|
|
// To silence logback error messages of "not being configured",
|
|
// this is Ktor client issue (we use ktor client in API)
|
|
implementation("ch.qos.logback:logback-classic:1.5.18")
|
|
|
|
testImplementation(kotlin("test"))
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
} |