✨ Added generate-resources
CLI command
#647
Open
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
keycloakify
cli to just generate the resources, I can create my own gradle script to pick those up and build ajar
file, instead of relying onkeycloakify
cli to do that for me through maven.Just for reference my gradle script looks like this:
siouan.frontendgradleplugin
plugin installs nodejs, and installs the packages, then runs scripts from the package.json during a gradle build.shadowjar
is the equivalent ofshade
in thepom.xml
generated by keycloakify.In order to let gradle know about the generated resources by keycloakify, my build script in
package.json
calls this new command and copies the generated files:This would make
keycloakify
compatible with any other build system outside maven.