Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge wied03/ENG-1/ENG-2074/api_version #102

Open
wants to merge 10 commits into
base: degroff/ENG-1/issue1
Choose a base branch
from
Prev Previous commit
Next Next commit
To simplify, use java client to build our JSONs
  • Loading branch information
wied03 committed Dec 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit ddeda5362b62fe3fc36ced5adc7d120c6fdb50dd
6 changes: 4 additions & 2 deletions build.savant
Original file line number Diff line number Diff line change
@@ -77,12 +77,14 @@ target(name: "extract-source-jars") {
file.unzip(file: fusionAuthJWT.replace("${fusionauthJWTVersion}.jar", "${fusionauthJWTVersion}-src.jar"), to: "build/src/fusionauth-jwt/")
}

target(name: "generateDomain", description: "Generates all of the json files for the domain", dependsOn: ['extract-source-jars']) {
target(name: "generateDomain", description: "Generates all of the json files for the domain", dependsOn: ['extract-source-jars', 'build-java']) {
file.delete {
fileSet(dir: "src/main/domain")
}

clientLibrary.generateDomainJson(srcDir: "../fusionauth-app/src/main/java/io/fusionauth/domain", outDir: "src/main/domain")
// To simplify InternalUser exclusion, let the build-java target sanitize all our domain objects and
// just use that as our starting point
clientLibrary.generateDomainJson(srcDir: "../fusionauth-java-client/src/main/java/io/fusionauth/domain", outDir: "src/main/domain")
clientLibrary.generateDomainJson(srcDir: "build/src/java-error/com/inversoft/error", outDir: "src/main/domain")
clientLibrary.generateDomainJson(srcDir: "build/src/fusionauth-jwt/io/fusionauth/jwt/domain/", outDir: "src/main/domain")
clientLibrary.generateDomainJson(srcDir: "build/src/fusionauth-jwt/io/fusionauth/jwks/domain/", outDir: "src/main/domain")