Configured publishing to Maven repository

This commit is contained in:
dankito 2024-11-21 23:29:11 +01:00
parent e48a22e75b
commit e43a8a7239
4 changed files with 29 additions and 1 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

@ -15,7 +15,25 @@ allprojects {
group = "net.codinux.invoicing"
version = "0.5.0-SNAPSHOT"
ext["sourceCodeRepositoryBaseUrl"] = "git.dankito.net/codinux/eInvoicing"
ext["projectDescription"] = "Tools to work with eInvoices according to EU standard EN 16931"
repositories {
mavenCentral()
}
}
tasks.register("publishAllToMavenLocal") {
dependsOn(
":e-invoice-domain:publishToMavenLocal"
)
}
tasks.register("publishAll") {
dependsOn(
":e-invoice-domain:publish"
)
}

View File

@ -42,4 +42,10 @@ dependencies {
tasks.test {
useJUnitPlatform()
}
}
ext["customArtifactId"] = "e-invoice"
apply(from = "../gradle/scripts/publish-codinux-repo.gradle.kts")

1
gradle/scripts Submodule

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