Skip to content

Commit

Permalink
build(deps): bump java from 17 to 21, gradle-wrapper from 7.4.1 to 8.…
Browse files Browse the repository at this point in the history
…6, spring-boot from 2.7.4 to 3.2.3
  • Loading branch information
wonderbird committed Mar 8, 2024
1 parent 3f97dd6 commit 358417c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=17.0.4-tem
gradle=7.6.3
java=21.0.2-tem
gradle=8.6
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ an [Open Source License](https://www.jetbrains.com/community/opensource/) for th

The build is tested with the following versions:

- [Java 17.0.4](https://adoptopenjdk.net/)
- [Gradle 7.6.3](https://gradle.org/)
- [Java 21.0.2](https://adoptopenjdk.net/)
- [Gradle](https://gradle.org/) is configured by the [gradle-wrapper.properties](gradle/wrapper/gradle-wrapper.properties)

### Build the Solution and Run the Tests

```sh
./gradlew clean build test
./gradlew clean build test --warning-mode all
```

## Before Creating a Pull Request
Expand Down
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '2.7.4'
id 'org.springframework.boot' version '3.2.3'
id 'io.spring.dependency-management' version '1.1.0'
id 'java'
id 'jacoco'
Expand All @@ -8,7 +8,10 @@ plugins {

group = 'systems.boos'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

java {
sourceCompatibility = JavaVersion.VERSION_21
}

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.springframework.web.bind.annotation.RestController;
import systems.boos.traindelays.model.Timetable;

import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletResponse;
import java.time.Instant;
import java.time.ZoneOffset;
import java.util.Optional;
Expand Down

0 comments on commit 358417c

Please sign in to comment.