File tree Expand file tree Collapse file tree 8 files changed +12
-15
lines changed
Expand file tree Collapse file tree 8 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ NumberGuessingGame-macos/
3636NumberGuessingGame-linux /
3737NumberGuessingGame-windows.zip
3838NumberGuessingGame-macos.zip
39- NumberGuessingGame-linux.tar.gz
39+ NumberGuessingGame-linux.tar.xz
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ Download the `archive.zip` from the [latest release](https://github.com/project5
9696
9797#### Requirements
9898
99- - Java 8 or higher
99+ - Java 17 or higher
100100
101101#### How to Run
102102
Original file line number Diff line number Diff line change 11plugins {
2- // Apply the application plugin to add support for building a CLI application in Java.
3- id ' application'
42
5- // Spotless
3+ id ' application '
64 id ' com.diffplug.spotless' version ' 8.1.0'
7-
85 id ' com.gradleup.shadow' version ' 9.2.2'
96}
107
118repositories {
12- // Use Maven Central for resolving dependencies.
9+
1310 mavenCentral()
1411 gradlePluginPortal()
1512 google()
1613}
1714
1815dependencies {
19- // This dependency is used by the application.
16+
2017 implementation libs. guava
2118}
2219
@@ -33,8 +30,8 @@ testing {
3330// Apply a specific Java toolchain to ease working on different environments.
3431java {
3532 toolchain {
36- // Use JDK 25
37- languageVersion = JavaLanguageVersion . of(8 )
33+
34+ languageVersion = JavaLanguageVersion . of(17 )
3835 }
3936}
4037
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Version: 1.0.0
33Section: games
44Priority: optional
55Architecture: all
6- Depends: default-jre | java8-runtime
6+ Depends: default-jre
77Maintainer: project516 <
[email protected] >
88Description: A simple number guessing game
99 A simple number guessing game where you try to guess a randomly
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ URL: https://github.com/Project516/NumberGuessingGame
1212Source0: game.jar
1313
1414BuildArch: noarch
15- Requires: java-1.8.0 -openjdk-headless
15+ Requires: java-17 -openjdk-headless
1616
1717%description
1818A simple number guessing game where you try to guess a randomly
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ echo "Building Number Guessing Game for Linux with bundled JRE..."
1616# Configuration
1717PACKAGE_NAME=" NumberGuessingGame-linux"
1818JRE_DIR=" jre-linux"
19- ADOPTIUM_BASE_URL=" https://api.adoptium.net/v3/binary/latest/8 /ga"
19+ ADOPTIUM_BASE_URL=" https://api.adoptium.net/v3/binary/latest/17 /ga"
2020
2121# Clean up any previous builds
2222rm -rf ${PACKAGE_NAME}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ echo "Building Number Guessing Game for macOS with bundled JRE..."
1616# Configuration
1717PACKAGE_NAME=" NumberGuessingGame-macos"
1818JRE_DIR=" jre-macos"
19- ADOPTIUM_BASE_URL=" https://api.adoptium.net/v3/binary/latest/8 /ga"
19+ ADOPTIUM_BASE_URL=" https://api.adoptium.net/v3/binary/latest/17 /ga"
2020
2121# Clean up any previous builds
2222rm -rf ${PACKAGE_NAME}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ echo "Building Number Guessing Game for Windows with bundled JRE..."
1616# Configuration
1717PACKAGE_NAME=" NumberGuessingGame-windows"
1818JRE_DIR=" jre-windows"
19- ADOPTIUM_BASE_URL=" https://api.adoptium.net/v3/binary/latest/8 /ga"
19+ ADOPTIUM_BASE_URL=" https://api.adoptium.net/v3/binary/latest/17 /ga"
2020
2121# Clean up any previous builds
2222rm -rf ${PACKAGE_NAME}
You can’t perform that action at this time.
0 commit comments