✨ Added generate-resources CLI command#647
Open
pushrbx wants to merge 1 commit intokeycloakify:mainfrom
Open
Conversation
Collaborator
|
Thank you for the PR. This is intresting. A few think to note (for you):
This dependency will no longer be required in Keycloak 26. We got this PR merged.
This is only nessesary if you're impelementing a Multi-Page account theme. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a feature request I believe.
I have a bigger repo of extensions for keycloak, but written in kotlin and instead of maven, gradle is the build system. I'd like to add themes to my repo, and keycloakify seems to be a good fit. However it would feel strange to use maven next to gradle through keycloakify in said repo.
I've figured that if I just make the
keycloakifycli to just generate the resources, I can create my own gradle script to pick those up and build ajarfile, instead of relying onkeycloakifycli to do that for me through maven.Just for reference my gradle script looks like this:
siouan.frontendgradlepluginplugin installs nodejs, and installs the packages, then runs scripts from the package.json during a gradle build.shadowjaris the equivalent ofshadein thepom.xmlgenerated by keycloakify.In order to let gradle know about the generated resources by keycloakify, my build script in
package.jsoncalls this new command and copies the generated files:This would make
keycloakifycompatible with any other build system outside maven.