Skip to content

Commit

Permalink
Add install scripts for Gradle 8.11.1 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 authored Nov 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1ab9481 commit 5a35337
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
powershell.exe -ExecutionPolicy Bypass -File "%~dp0installGradle-8.11.ps1"
powershell.exe -ExecutionPolicy Bypass -File "%~dp0installGradle-8.11.1.ps1"
pause
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set Gradle version
$GRADLE_VERSION = "8.11"
$GRADLE_VERSION = "8.11.1"

# Set installation directory
$INSTALL_DIR = "C:\Gradle"
11 changes: 7 additions & 4 deletions .tools/installGradle-8.11.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
#!/bin/bash

# Set Gradle version
GRADLE_VERSION="8.11"
GRADLE_VERSION="8.11.1"

# Set installation directory
INSTALL_DIR="/opt/gradle"

# Update package list and install required packages
sudo apt update
sudo apt install -y wget unzip
# Check if apt exists to make it somewhat more compatible with distros other than Debian-based
if command -v apt &> /dev/null; then
# Update package list and install required packages
sudo apt update
sudo apt install -y wget unzip
fi

# Download Gradle
echo "Downloading Gradle ${GRADLE_VERSION}..."

0 comments on commit 5a35337

Please sign in to comment.