2024-12-19 03:32:35 +00:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.kotlin.jvm)
|
2024-12-19 06:50:40 +00:00
|
|
|
alias(libs.plugins.spring.boot)
|
|
|
|
alias(libs.plugins.kotlin.spring)
|
2024-12-19 03:32:35 +00:00
|
|
|
}
|
|
|
|
|
2024-12-19 06:50:40 +00:00
|
|
|
apply {
|
|
|
|
plugin("io.spring.dependency-management")
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-12-19 03:32:35 +00:00
|
|
|
group = "dev.usbharu.hideout"
|
|
|
|
version = "unspecified"
|
|
|
|
|
2024-12-19 06:50:40 +00:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
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")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
register("run") {
|
|
|
|
dependsOn(gradle.includedBuild("hideout-core").task(":run"))
|
|
|
|
}
|
2024-12-19 03:32:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-12-19 06:50:40 +00:00
|
|
|
implementation(project(":hideout-core"))
|
|
|
|
implementation(project(":hideout-mastodon"))
|
|
|
|
implementation(project(":hideout-activitypub"))
|
2024-12-19 03:32:35 +00:00
|
|
|
}
|
|
|
|
|
2024-12-19 06:50:40 +00:00
|
|
|
springBoot {
|
|
|
|
buildInfo { }
|
|
|
|
|
|
|
|
mainClass = "dev.usbharu.hideout.SpringApplicationKt"
|
2024-12-19 03:32:35 +00:00
|
|
|
}
|