set gradle wrapper version+distribution

This commit is contained in:
Michael Hoennig 2022-08-04 12:24:54 +02:00
parent 60f2af6404
commit d9ee0017dd
3 changed files with 11 additions and 5 deletions

5
.gitignore vendored
View File

@ -78,9 +78,14 @@ out/
######################
# Gradle
######################
/gradle/wrapper/gradle-wrapper.jar
/gradlew
/gradlew.bat
/gradle/wrapper/gradle-wrapper.properties
.gradle/
/build/
######################
# Package Files
######################

View File

@ -2,6 +2,7 @@ plugins {
id 'java'
id 'org.springframework.boot' version '2.7.2'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id "org.owasp.dependencycheck" version "7.1.1"
id "com.diffplug.spotless" version "6.9.0"
}
@ -9,6 +10,11 @@ group = 'net.hostsharing'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
wrapper {
distributionType = Wrapper.DistributionType.BIN
gradleVersion = '7.5'
}
configurations {
compileOnly {
extendsFrom annotationProcessor

View File

@ -1,5 +0,0 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists