Configured publishing

This commit is contained in:
dankito 2024-10-16 00:41:05 +02:00
parent cee0ca6f17
commit a0540c005d
4 changed files with 32 additions and 5 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "gradle/scripts"]
path = gradle/scripts
url = git@github.com:dankito/GradleScripts.git

View File

@ -60,4 +60,9 @@ kotlin {
}
}
}
}
ext["customArtifactId"] = "epc-qr-code"
apply(from = "../gradle/scripts/publish-codinux-repo.gradle.kts")

View File

@ -11,13 +11,31 @@ buildscript {
}
group = "net.codinux.banking.epcqrcode"
version = "1.0.0-SNAPSHOT"
allprojects {
group = "net.codinux.banking.epcqrcode"
version = "1.0.0-SNAPSHOT"
repositories {
mavenCentral()
google()
maven { setUrl("https://maven.dankito.net/api/packages/codinux/maven") }
}
ext["projectDescription"] = "Generate or parse EPC QR Codes"
ext["sourceCodeRepositoryBaseUrl"] = "git.dankito.net/codinux/EpcQrCode"
}
tasks.register("publishAllToMavenLocal") {
dependsOn(
":EpcQrCode:publishToMavenLocal"
)
}
tasks.register("publishAll") {
dependsOn(
":EpcQrCode:publish"
)
}

1
gradle/scripts Submodule

@ -0,0 +1 @@
Subproject commit 88f1b01167e6a34b5b91f8797845bca0b7e4d3ab