- Delete gradle .zip file after installation.
- Update dependencies.
This commit is contained in:
parent
7018e4030b
commit
fb04c8df2f
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'org.springframework.boot' version '2.7.14'
|
id 'org.springframework.boot' version '2.7.15'
|
||||||
id 'io.spring.dependency-management' version '1.1.2'
|
id 'io.spring.dependency-management' version '1.1.3'
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
@ -91,7 +91,7 @@ dependencies {
|
||||||
implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1'
|
implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus
|
// https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus
|
||||||
runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.11.2'
|
runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.11.3'
|
||||||
|
|
||||||
testImplementation 'org.springframework.security:spring-security-test'
|
testImplementation 'org.springframework.security:spring-security-test'
|
||||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
|
@ -26,7 +26,7 @@ if [[ justInstall -eq 1 && shouldRunInDocker -eq 1 ]]; then
|
||||||
justInstall=0
|
justInstall=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gradleVersion="8.2.1"
|
gradleVersion="8.3"
|
||||||
|
|
||||||
if [[ justInstall -eq 0 ]]; then
|
if [[ justInstall -eq 0 ]]; then
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ if [[ justInstall -eq 0 ]]; then
|
||||||
echo -e "\nAsking for sudo, in order to install 'gradle'..\n"
|
echo -e "\nAsking for sudo, in order to install 'gradle'..\n"
|
||||||
sudo mkdir /opt/gradle
|
sudo mkdir /opt/gradle
|
||||||
sudo apt install -y unzip && sudo unzip -d /opt/gradle gradle-${gradleVersion}-bin.zip
|
sudo apt install -y unzip && sudo unzip -d /opt/gradle gradle-${gradleVersion}-bin.zip
|
||||||
|
sudo rm -rf gradle-${gradleVersion}-bin.zip
|
||||||
#ls /opt/gradle/gradle-${gradleVersion} # For debugging installation
|
#ls /opt/gradle/gradle-${gradleVersion} # For debugging installation
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue