Skip to content

Commit

Permalink
Merge pull request #596 from auth0/enable-api-diff-for-4.0
Browse files Browse the repository at this point in the history
[SDK-3170] reenable api-diff check for 4.0.0
  • Loading branch information
poovamraj authored Jul 11, 2022
2 parents ccd4191 + f30a47b commit f799e58
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
43 changes: 21 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ commands:
steps:
- run: ./gradlew check jacocoTestReport --continue --console=plain
- codecov/upload
# TODO re-enable once 4.0.0 is released
# run-api-diff:
# steps:
# # run apiDiff task
# - run: ./gradlew apiDiff
# - store_artifacts:
# path: lib/build/reports/apiDiff/apiDiff.txt
# - store_artifacts:
# path: lib/build/reports/apiDiff/apiDiff.html
run-api-diff:
steps:
# run apiDiff task
- run: ./gradlew apiDiff
- store_artifacts:
path: lib/build/reports/apiDiff/apiDiff.txt
- store_artifacts:
path: lib/build/reports/apiDiff/apiDiff.html
jobs:
build:
docker:
Expand All @@ -42,21 +41,21 @@ jobs:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
TERM: dumb
# api-diff:
# docker:
# - image: openjdk:11.0-jdk
# steps:
# - checkout-and-build
# - run-api-diff
# environment:
# GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
# _JAVA_OPTIONS: "-Xms512m -Xmx1024m"
# TERM: dumb
api-diff:
docker:
- image: openjdk:11.0-jdk
steps:
- checkout-and-build
- run-api-diff
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
TERM: dumb

workflows:
build-and-test:
jobs:
- build
# api-diff:
# jobs:
# - api-diff
api-diff:
jobs:
- api-diff
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ oss {
repository "java-jwt"
organization "auth0"
description "Java implementation of JSON Web Token (JWT)"
baselineCompareVersion "3.18.2"
baselineCompareVersion "4.0.0"

developers {
auth0 {
Expand Down

0 comments on commit f799e58

Please sign in to comment.