add Dependency Version Upgrade and upgrade versions

This commit is contained in:
Michael Hoennig 2022-08-24 18:27:40 +02:00
parent 6b4c9f6c51
commit 8b4e7869ad
2 changed files with 26 additions and 9 deletions

View File

@ -439,6 +439,20 @@ The generated license can be found here: [index.html](build/reports/dependency-l
More information can be found on the [project's website](https://github.com/jk1/Gradle-License-Report).
### Dependency Version Upgrade
Dependency versions can be automatically upgraded to the latest available version:
```shell
gw useLatestVersions
```
Afterwards, `gw check` is automatically started.
Please only commit+push to master if the check run shows no errors.
More infos, e.g. on blacklists see on the [projet's website](https://github.com/patrikerdes/gradle-use-latest-versions-plugin).
## How To ...
### How to Run the Application on a Different Port

View File

@ -1,12 +1,14 @@
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.2'
id 'org.springframework.boot' version '2.7.3'
id 'io.openapiprocessor.openapi-processor' version '2022.2'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id 'io.spring.dependency-management' version '1.0.13.RELEASE'
id 'com.github.jk1.dependency-license-report' version '2.1'
id "org.owasp.dependencycheck" version "7.1.1"
id "com.diffplug.spotless" version "6.9.0"
id "org.owasp.dependencycheck" version "7.1.2"
id "com.diffplug.spotless" version "6.10.0"
id 'jacoco'
id 'se.patrikerdes.use-latest-versions' version '0.2.18'
id 'com.github.ben-manes.versions' version '0.42.0'
}
group = 'net.hostsharing'
@ -50,9 +52,9 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.9'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.11'
implementation 'org.liquibase:liquibase-core'
implementation 'com.vladmihalcea:hibernate-types-55:2.17.1'
implementation 'com.vladmihalcea:hibernate-types-55:2.18.0'
implementation 'org.openapitools:jackson-databind-nullable:0.2.3'
implementation 'org.modelmapper:modelmapper:3.1.0'
@ -220,6 +222,7 @@ jacocoTestCoverageVerification {
}
}
// Dependency Versions Upgrade
useLatestVersions {
finalizedBy check
}