2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-25 15:37:10 -07:00
Commit graph

37 commits

Author SHA1 Message Date
Cedric Champeau
65e579966c
Revert RunTask 2023-03-05 11:22:28 +01:00
86b7ec21d9 Added serialVersionUID to TemplateType 2023-03-04 12:09:59 -05:00
aeaadfb1cc Added support for configurable precompiled template types 2023-03-04 11:53:59 -05:00
ed8046e83d More minor cleanups 2023-03-04 10:39:37 -05:00
c8f47a935e Minor cleanups 2023-03-04 10:22:04 -05:00
d3dedfe189 Updated to RIFE2 1.4.0 2023-03-04 10:21:35 -05:00
a54ab9b23e
Merge pull request #4 from ethauvin/develop
Develop
2023-03-03 23:05:53 -05:00
f8b3078ba1 Reverted cleanup, it wasn't necessary. 2023-03-02 05:28:18 -08:00
57a604c599 Minor cleanup 2023-02-28 23:46:10 -08:00
c33235a1ac Added description and group for the uberJar task. 2023-02-27 19:14:36 -08:00
269971663b Minor cleanup 2023-02-27 18:48:12 -08:00
d954e75cf5 Added a RunTask which includes the templates directory in the runtime classspath 2023-02-26 17:58:21 -08:00
834c75492b
Merge pull request #3 from melix/cc/publishing-compatibility
Add support for publishing the fat jar
2023-02-22 08:21:50 -05:00
5e70147765
Merge pull request #2 from melix/cc/build-feedback
Fix reload of templates in dev mode
2023-02-22 08:21:40 -05:00
Cedric Champeau
f6deafda3a
Add support for publishing the fat jar
This commit adds compatibility with the Maven publish plugin, by
making sure that if the application is published, then the uber
jar is published as a classified artifact (`-uber`) in addition
to the regular jar.

A sample publishing configuration was added to the `app`, with
a "local" publishing repository in <rootproject>/build/repo.

For example, calling `./gradlew pAPTBR` will create the
`build/repo` directory with the corresponding Maven repository
structure after publishing.
2023-02-22 13:49:25 +01:00
Cedric Champeau
c8b3cc7890
Fix reload of templates in dev mode
The `run` task is considered a development mode, where the templates
should be reloaded live. This means that the `run` task will not
use the precompiled templates, but the source templates instead.

The `test` task will also use precompiled templates, while the
`jar` and `uberJar` tasks will also make sure to bundle precompiled
templates and not the source ones.
2023-02-22 13:32:30 +01:00
0d3f587bb4 Minor cleanups 2023-02-21 18:20:14 -05:00
e02ed25b5a
Merge pull request #1 from melix/cc/rework-build
Rework Gradle build
2023-02-21 18:05:44 -05:00
Cedric Champeau
2e025cd693 Rework Gradle build
This commit introduces a _convention plugin_ for RIFE2 support.
It provides a number of advantages:

- the build logic is clearly separated from the build script,
which now only contains user-specific configuration, like the
framework version or how to configure test logging
- it fixes a number of issues like hardcoded dependencies
(`dependsOn` is in general a mistake)
- it removes the need to resolve the agent path eagerly
- it makes the agent configurable
- it clearly separates the user classpath from the RIFE
classpath (both for precompiling templates and for the agent)
- template compilation is cached
- it avoids the abuse of `src/main/resources` to put
templates and uses a dedicated directory instead, which
removes the need for exclusions

In addition, this should make it relatively straightforward
to convert the convention plugin into a proper RIFE2 plugin,
by extracting the code in `build-logic` into its own
repository then publishing to the Gradle plugin portal.
2023-02-21 23:52:36 +01:00
3a9bbec851 Added missing native-image configuration file 2023-02-19 10:32:37 -05:00
06ece52685 Merge remote-tracking branch 'origin/main' 2023-02-19 10:32:22 -05:00
abd47f3bd9 Updates for RIFE2 v1.3.0.
Added README information about GraalVM native-image support.
2023-02-19 10:30:10 -05:00
83cdfdc874
Update README.md 2023-02-18 20:08:24 -05:00
08b0ad067e Updated to RIFE2 1.2.1 2023-02-15 15:12:06 -05:00
0d30132de7 Readme updates 2023-02-13 17:44:44 -05:00
9f0992d9da Updated to RIFE2 v1.2.0 2023-02-13 17:32:39 -05:00
d375b99c48 Made tests use the java agent 2023-02-13 09:35:07 -05:00
44637cc6fc Updated for RIFE2 1.1.1.
Added RIFE2 agent and relevant instructions.
Improved README.
2023-02-13 08:30:34 -05:00
1c93546fd7 Updated for RIFE2 v1.1.0 release 2023-02-12 15:46:04 -05:00
a042ca3b65 Added second test 2023-02-12 13:25:39 -05:00
78b8051c2d Added a few badges 2023-02-12 13:23:03 -05:00
b9f8ce7cd2 Added GitHub workflow action 2023-02-12 13:08:51 -05:00
1b44a96ac5 Removed neadless import 2023-02-12 12:04:31 -05:00
b19c8afb41 Updated readme 2023-02-12 11:49:33 -05:00
217c35ec76 Added readme and updated git ignore. 2023-02-12 11:45:36 -05:00
c40209698c Initial commit 2023-02-12 11:39:35 -05:00
05b1ce9e95
Initial commit 2023-02-12 11:37:38 -05:00