Skip to content

Commit

Permalink
Release version 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohannes committed Nov 11, 2021
1 parent 9605f96 commit fc4a182
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "de.jjohannes.gradle"
version = "0.1"
version = "0.2"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(9))
Expand Down
2 changes: 1 addition & 1 deletion samples/basic/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}
2 changes: 1 addition & 1 deletion samples/configuration-cache/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}
2 changes: 1 addition & 1 deletion samples/custom-catalog/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}
2 changes: 1 addition & 1 deletion samples/custom-mappings/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}
2 changes: 1 addition & 1 deletion samples/disable-warnings/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}
2 changes: 1 addition & 1 deletion samples/no-catalog-warning/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}
2 changes: 1 addition & 1 deletion samples/no-versions-warning/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
}

dependencies {
implementation("de.jjohannes.gradle:java-module-dependencies:0.1")
implementation("de.jjohannes.gradle:java-module-dependencies:0.2")
}

0 comments on commit fc4a182

Please sign in to comment.