Skip to content

Commit

Permalink
Updated jdk to 17 in cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-gupta99 committed Aug 5, 2023
1 parent 10e810b commit 5241aca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
~/.gradle/wrapper
key: ${{ runner.OS }}-gradle-cache-${{ hashFiles('**/build.gradle') }}

# jdk 17
- name: Set Up JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17

- name: Run test
run: ./gradlew check
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ext {
espressoVersion = '2.2.2'

// retrofit version
retrofitVersionLatest = '2.2.0'
retrofitVersionLatest = '2.9.0'

// okHttp3 version
okHttp3Version = '4.9.2'
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 --add-opens java.base/java.io=ALL-UNNAMED
# added --add-opens java.base/java.io=ALL-UNNAMED to resolve error module java.base does not "opens java.io" to unnamed module
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand Down

0 comments on commit 5241aca

Please sign in to comment.