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/EpcQrCode/build.gradle.kts b/EpcQrCode/build.gradle.kts index 73b5c21..eabb631 100644 --- a/EpcQrCode/build.gradle.kts +++ b/EpcQrCode/build.gradle.kts @@ -60,4 +60,9 @@ kotlin { } } -} \ No newline at end of file +} + + +ext["customArtifactId"] = "epc-qr-code" + +apply(from = "../gradle/scripts/publish-codinux-repo.gradle.kts") \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 0ea5e4b..9d82c07 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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" + ) } 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