Skip to content

Commit

Permalink
Upgrade release to java 17 (#193)
Browse files Browse the repository at this point in the history
* Upgrade release to java 17

* Upgrade release to java 17
  • Loading branch information
ismailsimsek authored Sep 24, 2024
1 parent a9ce0f1 commit 698a5e0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,21 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'java', 'python' ]
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
RUN mvn clean package -Passembly -Dmaven.test.skip --quiet
RUN unzip /app/debezium-server-bigquery-dist/target/debezium-server-bigquery-dist*.zip -d appdist

FROM eclipse-temurin:11-jre
FROM eclipse-temurin:17-jre
COPY --from=builder /app/appdist/debezium-server-bigquery/ /app/

WORKDIR /app
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

<!-- Instruct the build to use only UTF-8 encoding for source code -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<skipITs>true</skipITs>

<version.groovy>3.0.22</version.groovy>
Expand Down

0 comments on commit 698a5e0

Please sign in to comment.