Skip to content

Commit

Permalink
Update Gradle in Dockerfile (adjust to projects Gradle version)
Browse files Browse the repository at this point in the history
  • Loading branch information
edigonzales committed Nov 27, 2024
1 parent 820eb3e commit afddc71
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@ Since `java.xml` is part of the JDK but is also a dependency of the Gradle API (
- Run `./gradlew eclipse`
- Add `org.eclipse.jdt.core.compiler.ignoreUnnamedModuleForSplitPackage=enabled` to _gretl/.settings/org.eclipse.jdt.core.prefs_.

## Updating Gradle

Update Gradle for the project:

```
./gradlew wrapper --gradle-version 8.10.2
```

Update Gradle in the Dockerfile:

```
ENV GRADLE_VERSION 8.10.2
ARG GRADLE_DOWNLOAD_SHA256=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
```

## Oracle JDBC
There are still signs and wonders taking place: Since fall 2019 the Oracle JDBC library can be found on maven central. Oracle database support is now straight forward.

Expand Down
4 changes: 2 additions & 2 deletions runtimeImage/gretl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN apk add --no-cache bash ca-certificates java-cacerts curl \

ENV JAVA_TOOL_OPTIONS=-Duser.home=${HOME}
ENV GRADLE_HOME /opt/gradle
ENV GRADLE_VERSION 8.7
ARG GRADLE_DOWNLOAD_SHA256=544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d
ENV GRADLE_VERSION 8.10.2
ARG GRADLE_DOWNLOAD_SHA256=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
RUN set -o errexit -o nounset \
&& echo "Downloading Gradle" \
&& wget --no-verbose --output-document=gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \
Expand Down

0 comments on commit afddc71

Please sign in to comment.