From fc4a18290b381855d11b176cb2b8408a2de217a7 Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Thu, 11 Nov 2021 12:11:19 +0100 Subject: [PATCH] Release version 0.2 --- README.MD | 5 ++++- build.gradle.kts | 2 +- samples/basic/build-logic/build.gradle.kts | 2 +- samples/configuration-cache/build-logic/build.gradle.kts | 2 +- samples/custom-catalog/build-logic/build.gradle.kts | 2 +- samples/custom-mappings/build-logic/build.gradle.kts | 2 +- samples/disable-warnings/build-logic/build.gradle.kts | 2 +- samples/no-catalog-warning/build-logic/build.gradle.kts | 2 +- samples/no-versions-warning/build-logic/build.gradle.kts | 2 +- 9 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.MD b/README.MD index 7bc191b..e1bc430 100644 --- a/README.MD +++ b/README.MD @@ -21,7 +21,7 @@ Add this to the build file of your convention plugin's build ``` dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } ``` @@ -64,6 +64,9 @@ A project name is determined by the `include(projectName)` statement in the sett The group is defined via the `group = ...` statement in the build files / convention plugin. This corresponds to how GA coordinates are typically mapped to module names. +If you do not follow this pattern, you can also use a prefix that differs from the group: +`javaModuleDependencies.getOwnModuleNamesPrefix.set("org.my.module.name.prefix")`. + ## Defining module versions Versions are defined in `[version]` block of a dependencies [version catalog](https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog). diff --git a/build.gradle.kts b/build.gradle.kts index 3ec417d..a274458 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "de.jjohannes.gradle" -version = "0.1" +version = "0.2" java { toolchain.languageVersion.set(JavaLanguageVersion.of(9)) diff --git a/samples/basic/build-logic/build.gradle.kts b/samples/basic/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/basic/build-logic/build.gradle.kts +++ b/samples/basic/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file diff --git a/samples/configuration-cache/build-logic/build.gradle.kts b/samples/configuration-cache/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/configuration-cache/build-logic/build.gradle.kts +++ b/samples/configuration-cache/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file diff --git a/samples/custom-catalog/build-logic/build.gradle.kts b/samples/custom-catalog/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/custom-catalog/build-logic/build.gradle.kts +++ b/samples/custom-catalog/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file diff --git a/samples/custom-mappings/build-logic/build.gradle.kts b/samples/custom-mappings/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/custom-mappings/build-logic/build.gradle.kts +++ b/samples/custom-mappings/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file diff --git a/samples/disable-warnings/build-logic/build.gradle.kts b/samples/disable-warnings/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/disable-warnings/build-logic/build.gradle.kts +++ b/samples/disable-warnings/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file diff --git a/samples/no-catalog-warning/build-logic/build.gradle.kts b/samples/no-catalog-warning/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/no-catalog-warning/build-logic/build.gradle.kts +++ b/samples/no-catalog-warning/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file diff --git a/samples/no-versions-warning/build-logic/build.gradle.kts b/samples/no-versions-warning/build-logic/build.gradle.kts index ea5592c..0f1ad2a 100644 --- a/samples/no-versions-warning/build-logic/build.gradle.kts +++ b/samples/no-versions-warning/build-logic/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("de.jjohannes.gradle:java-module-dependencies:0.1") + implementation("de.jjohannes.gradle:java-module-dependencies:0.2") } \ No newline at end of file