forked from projen/projen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(java): projenrc.java (projen#470)
If `projenrcJava` is set to `true` for java projects (or `--projenrc-java` switch is provided in `projen new`, the java project will support writing your projenrc file in java (yeah!). In this case, the projenrc file will be located under `src/test/java/projenrc.java` and `projen synth` will take care to compile it and execute it with a dependency on `com.github.eladb/projen`. Next steps: 1. The CLI should auto-detect the `synth` task and defer to it when `pj` is executed without a subcommand. This will allow projects to customize how synth is performed for each language. 2. Currently `projen new` will still generate a `.projenrc.js` file, but this should be moved from the CLI to the library and then `java.Projenrc` should generate the Java equivalent in the right location when the project is bootstrapped. That should be fun. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
Elad Ben-Israel
authored
Jan 7, 2021
1 parent
0ee35fa
commit 9d099f6
Showing
11 changed files
with
854 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.