Skip to content

Commit

Permalink
Release 4.8.1 JRE 8
Browse files Browse the repository at this point in the history
* Make specific Checkout exceptions extend `CheckoutException`
* Removed deprecated Events and `CountryCode` string references
* Added @Builder.Default to `PaymentRequest` metadata (FOUR)
* Added `name` and `city` attributes to BillingDescriptor (FOUR)
* Removed redundant enum lookup methods
* Minor fixes on CVV card payment mappings
  • Loading branch information
rsaestrela committed Nov 24, 2021
1 parent c110843 commit 84fefd0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 64 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/build-pull-request.yml

This file was deleted.

37 changes: 5 additions & 32 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: build-release
name: build-release-4.8.1-jre8
on:
push:
paths:
- gradle.properties
jobs:
deploy:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/integration/release_4.8.1_java_8'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
java-version: '8'
- id: read-version
uses: HardNorth/[email protected]
with:
Expand All @@ -22,7 +22,7 @@ jobs:
- id: print-version
run: echo "Releasing $CURRENT_VERSION"
- id: validate-wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
uses: gradle/wrapper-validation-action@v1
- id: build
env:
CHECKOUT_SECRET_KEY: ${{ secrets.IT_CHECKOUT_SECRET_KEY }}
Expand All @@ -48,31 +48,4 @@ jobs:
release_name: ${{ env.CURRENT_VERSION }}
body: ${{ github.event.head_commit.message }}
draft: false
prerelease: false
docs-release:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- id: release-gh-pages
env:
USE_SSH: true
GIT_USER: git
run: |
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
cd documentation
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run deploy
prerelease: false
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ allprojects {
}
}

sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
Expand Down Expand Up @@ -130,10 +130,6 @@ signing {
sign publishing.publications.mavenJava
}

javadoc {
options.addBooleanOption('html5', true)
}

jar {
manifest {
attributes 'Implementation-Title': 'checkout-sdk-java',
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=com.checkout
version=4.8.1
version=4.8.1-jre8

maven2_url=https://oss.sonatype.org/service/local/staging/deploy/maven2/
snapshot_url=https://oss.sonatype.org/content/repositories/snapshots/
Expand Down

0 comments on commit 84fefd0

Please sign in to comment.