2024-05-03 17:01:06 +00:00
|
|
|
plugins {
|
2024-05-04 08:31:48 +00:00
|
|
|
alias(libs.plugins.kotlin.jvm)
|
2024-05-08 09:55:12 +00:00
|
|
|
alias(libs.plugins.kotlin.spring)
|
|
|
|
alias(libs.plugins.spring.boot)
|
|
|
|
}
|
|
|
|
|
|
|
|
apply {
|
|
|
|
plugin("io.spring.dependency-management")
|
2024-05-03 17:01:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "dev.usbharu"
|
|
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2024-05-08 09:55:12 +00:00
|
|
|
maven {
|
|
|
|
url = uri("https://git.usbharu.dev/api/packages/usbharu/maven")
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name = "GitHubPackages"
|
|
|
|
url = uri("https://maven.pkg.github.com/usbharu/http-signature")
|
|
|
|
credentials {
|
|
|
|
|
|
|
|
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
|
|
|
|
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name = "GitHubPackages2"
|
|
|
|
url = uri("https://maven.pkg.github.com/multim-dev/emoji-kt")
|
|
|
|
credentials {
|
|
|
|
|
|
|
|
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
|
|
|
|
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
|
|
|
|
}
|
|
|
|
}
|
2024-05-03 17:01:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation(kotlin("test"))
|
2024-05-06 07:55:57 +00:00
|
|
|
implementation("dev.usbharu:owl-consumer:0.0.1")
|
2024-05-08 09:55:12 +00:00
|
|
|
implementation("dev.usbharu:owl-common:0.0.1")
|
2024-05-11 06:35:42 +00:00
|
|
|
implementation("dev.usbharu:owl-common-serialize-jackson:0.0.1")
|
2024-05-08 09:55:12 +00:00
|
|
|
implementation("dev.usbharu:hideout-core:0.0.1")
|
|
|
|
implementation("dev.usbharu:http-signature:1.0.0")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
|
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
2024-05-11 10:04:57 +00:00
|
|
|
implementation("org.springframework.boot:spring-boot-starter-log4j2")
|
2024-05-08 09:55:12 +00:00
|
|
|
implementation(libs.jackson.databind)
|
|
|
|
implementation(libs.jackson.module.kotlin)
|
2024-05-11 10:04:57 +00:00
|
|
|
implementation(libs.bundles.coroutines)
|
2024-05-08 09:55:12 +00:00
|
|
|
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
2024-05-03 17:01:06 +00:00
|
|
|
}
|
|
|
|
|
2024-05-11 10:04:57 +00:00
|
|
|
configurations {
|
|
|
|
all {
|
|
|
|
exclude("org.springframework.boot", "spring-boot-starter-logging")
|
|
|
|
exclude("ch.qos.logback", "logback-classic")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-03 17:01:06 +00:00
|
|
|
tasks.test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvmToolchain(21)
|
|
|
|
}
|