Skip to content

Commit

Permalink
Upgrade to Flink 1.17.1 and JDK 11
Browse files Browse the repository at this point in the history
  • Loading branch information
qinjunjerry committed Oct 31, 2023
1 parent fd51d6d commit ca74525
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Verify
run: ./gradlew check
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Verify
run: ./gradlew check
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Verify
run: ./gradlew check
- name: Build
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ plugins {
}

ext {
javaVersion = '1.8'
javaVersion = '11'
// flinkGroup = 'com.ververica.flink'
// flinkVersion = '1.12.2-stream1'
flinkGroup = 'org.apache.flink'
flinkVersion = '1.15.3'
flinkVersion = '1.17.1'
scalaBinaryVersion = '2.12'
githubApiVersion = '1.301'
okHttpVersion = '4.9.3'

elasticVersion = '3.0.1-1.17'
/*
Mime4J versions 0.8.5+ are built with Java 11 and will fail with the
following error when run on Java 8:
Expand Down
2 changes: 1 addition & 1 deletion commit-analytics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies {
implementation "org.kohsuke:github-api:${githubApiVersion}"
implementation "com.squareup.okhttp3:okhttp-urlconnection:${okHttpVersion}"

implementation "${flinkGroup}:flink-connector-elasticsearch7:${flinkVersion}"
implementation "${flinkGroup}:flink-connector-elasticsearch7:${elasticVersion}"
}

publishing {
Expand Down
2 changes: 1 addition & 1 deletion import/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {

implementation project(path: ':source-mbox')

implementation "${flinkGroup}:flink-connector-elasticsearch7:${flinkVersion}"
implementation "${flinkGroup}:flink-connector-elasticsearch7:${elasticVersion}"
implementation "${flinkGroup}:flink-connector-kafka:${flinkVersion}"
implementation "${flinkGroup}:flink-json:${flinkVersion}"
}
Expand Down

0 comments on commit ca74525

Please sign in to comment.