47 lines
885 B
Plaintext
47 lines
885 B
Plaintext
|
|
plugins {
|
||
|
|
kotlin("jvm") version "2.0.21"
|
||
|
|
`maven-publish`
|
||
|
|
}
|
||
|
|
|
||
|
|
group = "xyz.r0r5chach"
|
||
|
|
version = "1.0.0"
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
testImplementation(kotlin("test"))
|
||
|
|
|
||
|
|
// Coroutines
|
||
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
|
||
|
|
|
||
|
|
// Retrofit
|
||
|
|
val retrofitVersion = "2.11.0"
|
||
|
|
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
|
||
|
|
|
||
|
|
// Jackson
|
||
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.15.2")
|
||
|
|
implementation("com.squareup.retrofit2:converter-jackson:$retrofitVersion")
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.test {
|
||
|
|
useJUnitPlatform()
|
||
|
|
}
|
||
|
|
kotlin {
|
||
|
|
jvmToolchain(17)
|
||
|
|
}
|
||
|
|
|
||
|
|
java {
|
||
|
|
withSourcesJar()
|
||
|
|
withJavadocJar()
|
||
|
|
}
|
||
|
|
|
||
|
|
publishing {
|
||
|
|
publications {
|
||
|
|
create<MavenPublication>("maven") {
|
||
|
|
from(components["java"])
|
||
|
|
artifactId = "radikle"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|