From fb04c8df2f20da512a6d5895942afa7debd18278 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Mon, 4 Sep 2023 15:02:59 +0300 Subject: [PATCH] - Delete gradle .zip file after installation. - Update dependencies. --- build.gradle | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- installAndRun.sh | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) mode change 100755 => 100644 installAndRun.sh diff --git a/build.gradle b/build.gradle index c78eb4d..444bf70 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' - id 'org.springframework.boot' version '2.7.14' - id 'io.spring.dependency-management' version '1.1.2' + id 'org.springframework.boot' version '2.7.15' + id 'io.spring.dependency-management' version '1.1.3' } java { @@ -91,7 +91,7 @@ dependencies { implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1' // 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.boot:spring-boot-starter-test" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 20f76b5..65b1efe 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME 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 networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME diff --git a/installAndRun.sh b/installAndRun.sh old mode 100755 new mode 100644 index 0cedee5..d7c42ec --- a/installAndRun.sh +++ b/installAndRun.sh @@ -26,7 +26,7 @@ if [[ justInstall -eq 1 && shouldRunInDocker -eq 1 ]]; then justInstall=0 fi -gradleVersion="8.2.1" +gradleVersion="8.3" 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" sudo mkdir /opt/gradle 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 fi