From 21d13622d385e324685e4d07e93491bd63aedf58 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 16 Aug 2024 16:55:33 +0200 Subject: [PATCH] Made banking-client-model publishable --- .gitmodules | 3 +++ BankingClientModel/build.gradle.kts | 8 +++++++- build.gradle.kts | 18 ++++++++++++++++++ gradle/scripts | 1 + 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 gradle/scripts diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..6c858813 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gradle/scripts"] + path = gradle/scripts + url = git@github.com:dankito/GradleScripts.git diff --git a/BankingClientModel/build.gradle.kts b/BankingClientModel/build.gradle.kts index c2daa232..f225d6be 100644 --- a/BankingClientModel/build.gradle.kts +++ b/BankingClientModel/build.gradle.kts @@ -98,4 +98,10 @@ kotlin { nativeMain { } nativeTest { } } -} \ No newline at end of file +} + + + +ext["customArtifactId"] = "banking-client-model" + +apply(from = "../gradle/scripts/publish-codinux.gradle.kts") \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 7647f320..03f614b0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,4 +17,22 @@ allprojects { repositories { mavenCentral() } + + + ext["sourceCodeRepositoryBaseUrl"] = "github.com/codinux/BankingClient" + + ext["projectDescription"] = "Model and base definitions for Banking Client, a common abstraction for different implements of banking libraries" +} + + +tasks.register("publishAllToMavenLocal") { + dependsOn( + ":BankingClientModel:publishToMavenLocal" + ) +} + +tasks.register("publishAll") { + dependsOn( + ":BankingClientModel:publish" + ) } \ No newline at end of file diff --git a/gradle/scripts b/gradle/scripts new file mode 160000 index 00000000..bdf8b147 --- /dev/null +++ b/gradle/scripts @@ -0,0 +1 @@ +Subproject commit bdf8b14738c06016a48e1fc9781ad4d999e1219f