Skip to content

Commit e57d6c0

Browse files
authored
Merge pull request #124 from leandroBorgesFerreira/compileWithJava17
Compile with java17
2 parents 8e308d4 + 9e78d00 commit e57d6c0

File tree

6 files changed

+28
-16
lines changed

6 files changed

+28
-16
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
18+
- uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '17'
1822

1923
- name: Commit message lint
2024
uses: wagoid/commitlint-github-action@v4

.github/workflows/initiate_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ jobs:
1212
name: 🚀 Create release PR
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0 # gives the changelog generator access to all previous commits
18+
- uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '17'
1822

1923
- name: Update CHANGELOG.md, build.gradle and push release branch
2024
env:

.github/workflows/javadoc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
persist-credentials: false
14+
- uses: actions/setup-java@v3
15+
with:
16+
distribution: 'temurin'
17+
java-version: '17'
1418
- name: Set up Node.js 16
1519
uses: actions/setup-node@v2
1620
with:

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
18-
18+
- uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '17'
1922
- uses: actions/github-script@v5
2023
with:
2124
script: |

build.gradle

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
plugins {
2-
id "me.tatarka.retrolambda" version "3.7.1"
32
id 'java-library'
43
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
54
id 'com.diffplug.spotless' version '5.14.0'
@@ -16,6 +15,8 @@ repositories {
1615
maven { url uri('https://repo.maven.apache.org/maven2/') }
1716
}
1817

18+
var jackson_version = '2.14.2'
19+
1920
dependencies {
2021
sourceCompatibility = 1.8
2122
targetCompatibility = 1.8
@@ -25,22 +26,18 @@ dependencies {
2526
testImplementation 'com.pholser:junit-quickcheck-generators:0.8.1'
2627
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.2.0'
2728

28-
implementation 'com.google.guava:guava:20.0'
29-
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
30-
implementation 'com.fasterxml.jackson.core:jackson-core:2.9.10'
31-
implementation 'com.fasterxml.jackson.core:jackson-core:2.9.10'
32-
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.9.10'
33-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.10'
34-
implementation 'com.auth0:java-jwt:3.4.0'
29+
implementation 'com.google.guava:guava:31.1-jre'
30+
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
31+
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
32+
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
33+
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
34+
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
35+
implementation 'com.auth0:java-jwt:4.2.2'
3536

3637
api 'net.sourceforge.streamsupport:streamsupport:1.7.0'
3738
api 'net.sourceforge.streamsupport:streamsupport-cfuture:1.7.0'
3839
}
3940

40-
retrolambda {
41-
javaVersion JavaVersion.VERSION_1_7
42-
}
43-
4441
def localProperties = new Properties()
4542
def localPropertiesFile = project.rootProject.file('local.properties')
4643
if (localPropertiesFile.exists()) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)