diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6c85881 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gradle/scripts"] + path = gradle/scripts + url = git@github.com:dankito/GradleScripts.git diff --git a/build.gradle.kts b/build.gradle.kts index e663bf4..1ed8c1e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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" + ) } \ No newline at end of file diff --git a/e-invoice-domain/build.gradle.kts b/e-invoice-domain/build.gradle.kts index 7d65c05..65b7f2b 100644 --- a/e-invoice-domain/build.gradle.kts +++ b/e-invoice-domain/build.gradle.kts @@ -42,4 +42,10 @@ dependencies { tasks.test { useJUnitPlatform() -} \ No newline at end of file +} + + + +ext["customArtifactId"] = "e-invoice" + +apply(from = "../gradle/scripts/publish-codinux-repo.gradle.kts") \ No newline at end of file diff --git a/gradle/scripts b/gradle/scripts new file mode 160000 index 0000000..88f1b01 --- /dev/null +++ b/gradle/scripts @@ -0,0 +1 @@ +Subproject commit 88f1b01167e6a34b5b91f8797845bca0b7e4d3ab