Skip to content

Commit

Permalink
Merge pull request #168 from atlassian/noissue/fix-JDK-build
Browse files Browse the repository at this point in the history
Set JDK to 1.8 in branch build
  • Loading branch information
diegoocampoh authored Mar 13, 2024
2 parents 2114b3e + f73de0f commit bc0a245
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '8'
distribution: 'adopt'

- name: Grant execute permission for gradlew
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class DefaultTOTPService(
}

fun String.urlEncode(): String =
URLEncoder.encode(this, Charsets.UTF_8)
URLEncoder.encode(this, Charsets.UTF_8.name())
.replace("+", "%20")
.replace("*", "%2A")
.replace("%7E", "~")

0 comments on commit bc0a245

Please sign in to comment.