Skip to content

Commit

Permalink
gradle-jgitver-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-git committed Sep 8, 2024
1 parent 627000b commit 09cba22
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,28 @@

## Update dependencies

### Plugin [com.github.ben-manes.versions](https://github.com/ben-manes/gradle-versions-plugin)

```shell
./gradlew dependencyUpdates
```

## Check dependencies

### Plugin [dependency-analysis-gradle-plugin](https://github.com/autonomousapps/dependency-analysis-gradle-plugin)

```shell
./gradlew buildHealth
```

## Update project version

### Plugin [gradle-jgitver-plugin](https://github.com/jgitver/gradle-jgitver-plugin)

```shell
./gradlew version
```

## Build docker image

```shell
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins {
alias(libs.plugins.nebula.lint)
alias(libs.plugins.sonarqube)
alias(libs.plugins.jacocolog)
alias(libs.plugins.jgitver)
}

spotbugs {
Expand All @@ -34,7 +35,7 @@ sonar {

allprojects {
group = 'com.ak'
version = '2024.09.08'
version = '2024.6.7-27'
apply plugin: 'idea'
apply plugin: 'jacoco'
apply plugin: 'org.barfuin.gradle.jacocolog'
Expand Down
2 changes: 1 addition & 1 deletion hello/src/main/java/com/ak/app/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ private MainApp() {
}

public static void main(String[] args) {
Logger.getLogger(MainApp.class.getName()).info(() -> "Hello word 2024.09.08!");
Logger.getLogger(MainApp.class.getName()).info(() -> "Hello word 2024.6.7-27!");
}
}
2 changes: 2 additions & 0 deletions libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jacocolog = '3.1.0'
spotbugs = '6.0.22'
ben-manes-versions = '0.51.0'
nebula-lint = '19.0.3'
jgitver = '0.10.0-rc03'

jspecify = '1.0.0'
junit = '5.11.0'
Expand All @@ -17,6 +18,7 @@ jacocolog = { id = 'org.barfuin.gradle.jacocolog', version.ref = 'jacocolog' }
spotbugs = { id = 'com.github.spotbugs', version.ref = 'spotbugs' }
ben-manes-versions = { id = 'com.github.ben-manes.versions', version.ref = 'ben-manes-versions' }
nebula-lint = { id = 'nebula.lint', version.ref = 'nebula-lint' }
jgitver = { id = 'fr.brouillard.oss.gradle.jgitver', version.ref = 'jgitver' }

[libraries]
jspecify = { module = 'org.jspecify:jspecify', version.ref = 'jspecify' }
Expand Down

0 comments on commit 09cba22

Please sign in to comment.