Configured publishing fints4k-banking-client to codinux Maven repo

This commit is contained in:
dankito 2024-08-22 03:46:47 +02:00
parent 7437ac0cf5
commit 02eb0f5804
3 changed files with 25 additions and 2 deletions

View File

@ -4,6 +4,8 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
plugins {
kotlin("multiplatform")
id("maven-publish")
}
@ -117,6 +119,21 @@ kotlin {
ext["customArtifactId"] = "fints4k-banking-client"
//ext["customArtifactId"] = "fints4k-banking-client"
//
//apply(from = "../gradle/scripts/publish-codinux.gradle.kts")
apply(from = "../gradle/scripts/publish-codinux.gradle.kts")
publishing {
repositories {
maven {
name = "codinux"
url = uri("https://maven.dankito.net/api/packages/codinux/maven")
credentials(PasswordCredentials::class.java) {
username = project.property("codinuxRegistryWriterUsername") as String
password = project.property("codinuxRegistryWriterPassword") as String
}
}
}
}

View File

@ -16,6 +16,9 @@ allprojects {
repositories {
mavenCentral()
maven {
setUrl("https://maven.dankito.net/api/packages/codinux/maven")
}
}

View File

@ -28,3 +28,6 @@ include("BankingClientModel")
include("BankingClient")
include("FinTs4jBankingClient")
project(":FinTs4jBankingClient").apply {
name = "fints4k-banking-client"
}