a5198e471f
Publish AG-UI Protocol / Deploy to dev (release) Successful in 2m37s
- .gitea/workflows/build.yml: on release -> subochev/devops/publish -> caffeine - maven-publish wired into api/client/server (KMP per-target publications) - root: caffeine repo (nexus.xx) + pom; version via gradle.properties, overridable by -Pversion
35 lines
1.2 KiB
Kotlin
35 lines
1.2 KiB
Kotlin
import org.gradle.api.publish.maven.MavenPublication
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform) apply false
|
|
alias(libs.plugins.kotlin.serialization) apply false
|
|
}
|
|
|
|
allprojects {
|
|
group = "pw.binom.agui"
|
|
}
|
|
|
|
subprojects {
|
|
plugins.withId("maven-publish") {
|
|
extensions.configure<PublishingExtension>("publishing") {
|
|
publications.withType<MavenPublication>().configureEach {
|
|
pom {
|
|
name.set(project.name)
|
|
description.set("AG-UI (Agent-User Interface) protocol implementation")
|
|
url.set("https://github.com/ag-ui-protocol/ag-ui")
|
|
}
|
|
}
|
|
repositories {
|
|
maven {
|
|
name = "caffeine"
|
|
url = uri("http://nexus.xx/repository/caffeine/")
|
|
isAllowInsecureProtocol = true
|
|
credentials {
|
|
username = (project.findProperty("binom.repo.user") as String?) ?: System.getenv("BINOM_REPO_USER").orEmpty()
|
|
password = (project.findProperty("binom.repo.password") as String?) ?: System.getenv("BINOM_REPO_PASSWORD").orEmpty()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |