mirror of https://github.com/usbharu/Hideout.git
chore: build-test
This commit is contained in:
parent
e9f263bab1
commit
ceb206289c
|
@ -2,6 +2,8 @@ name: PullRequest Merge Check
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'owl/**'
|
||||
branches:
|
||||
- "develop"
|
||||
types:
|
||||
|
|
|
@ -82,8 +82,8 @@ dependencies {
|
|||
implementation(libs.bundles.ktor.client)
|
||||
implementation(libs.bundles.apache.tika)
|
||||
implementation(libs.bundles.openapi)
|
||||
implementation(libs.bundles.owl.producer)
|
||||
implementation(libs.bundles.owl.broker)
|
||||
// implementation(libs.bundles.owl.producer)
|
||||
// implementation(libs.bundles.owl.broker)
|
||||
implementation(libs.bundles.spring.boot.oauth2)
|
||||
implementation(libs.bundles.spring.boot.data.mongodb)
|
||||
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
||||
|
@ -104,7 +104,7 @@ dependencies {
|
|||
implementation(libs.flyway.core)
|
||||
runtimeOnly(libs.flyway.postgresql)
|
||||
|
||||
implementation("dev.usbharu:owl-common-serialize-jackson:0.0.1")
|
||||
// implementation("dev.usbharu:owl-common-serialize-jackson:0.0.1")
|
||||
|
||||
implementation(libs.javacv) {
|
||||
exclude(module = "opencv")
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,9 +14,19 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
create("publishMavenPublicationToMavenLocal") {
|
||||
subprojects.forEach { dependsOn("${it.path}:publishMavenPublicationToMavenLocal") }
|
||||
}
|
||||
create("publishMavenPublicationToGiteaRepository") {
|
||||
subprojects.forEach { dependsOn("${it.path}:publishMavenPublicationToGiteaRepository") }
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply {
|
||||
plugin("org.jetbrains.kotlin.jvm")
|
||||
plugin("maven-publish")
|
||||
}
|
||||
kotlin {
|
||||
jvmToolchain(21)
|
||||
|
@ -28,10 +39,34 @@ subprojects {
|
|||
|
||||
}
|
||||
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = "Gitea"
|
||||
url = uri("https://git.usbharu.dev/api/packages/usbharu/maven")
|
||||
|
||||
credentials(HttpHeaderCredentials::class.java) {
|
||||
name = "Authorization"
|
||||
value = "token " + (project.findProperty("gpr.gitea") as String? ?: System.getenv("GITEA"))
|
||||
}
|
||||
|
||||
authentication {
|
||||
create<HttpHeaderAuthentication>("header")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publications {
|
||||
register<MavenPublication>("maven") {
|
||||
groupId = "dev.usbharu"
|
||||
artifactId = project.name
|
||||
version = project.version.toString()
|
||||
from(components["kotlin"])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,6 +2,5 @@ kotlin.code.style=official
|
|||
org.gradle.daemon=true
|
||||
org.gradle.parallel=true
|
||||
org.gradle.configureondemand=true
|
||||
#ksp.useKSP2=true
|
||||
org.gradle.configuration-cache=true
|
||||
org.gradle.configuration-cache.problems=warn
|
Loading…
Reference in New Issue