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

79 commits

Author SHA1 Message Date
d10a81746f Updated to RIFE2 1.5.7 2023-03-28 01:04:48 -04:00
056d590d0e Updated to RIFE 1.5.6 2023-03-25 10:12:19 -04:00
e94a758559 Updated to RIFE 1.5.5 2023-03-22 16:35:08 -04:00
114d73323f Updated to RIFE 1.5.4 2023-03-21 19:28:50 -04:00
c873741771 Updated to RIFE 1.5.2 2023-03-20 21:49:29 -04:00
8751306d0f Updated for better alignment across hello templates 2023-03-20 11:06:06 -04:00
e0e07a3d27 Updated to latest Gradle plugin. 2023-03-13 10:07:36 -04:00
f3180a070a Upgraded Gradle to version 8.0.2 2023-03-07 19:32:46 -05:00
ceaf000b91 Updated Gradle plugin version 2023-03-07 13:48:07 -05:00
79938eeb61 Set the artifact ID from the project name for maven publishing 2023-03-07 13:43:45 -05:00
7a3d44a412 Updated RIFE2 Gradle plugin version 2023-03-06 20:11:56 -05:00
4999c040c0 Merge branch 'develop' 2023-03-06 19:48:35 -05:00
a39fb686c3 Build file tweaks 2023-03-06 19:48:12 -05:00
7e1dcd82ec Updated war task 2023-03-06 19:27:20 -05:00
f10a228097 Merge branch 'develop' 2023-03-06 18:39:56 -05:00
8e249a3f50 Specify uberjar main class specifically 2023-03-06 18:39:39 -05:00
e3df16c5df Merge branch 'develop' 2023-03-06 18:29:48 -05:00
122db8a40e Small cleanup to match the manual better 2023-03-06 18:29:18 -05:00
b74de8c59a
Updated GitHub workflow actions to latest versions (#10) 2023-03-06 16:52:58 -05:00
02d5b610be Updated GitHub workflow actions to latest versions 2023-03-06 16:43:04 -05:00
fbad18e011 Updated Gradle plugin version to 1.0.4 2023-03-06 16:41:00 -05:00
f777a40a99 Updated plugin version to 1.0.3 2023-03-06 12:12:33 -05:00
d4f9bb9ad4 Updated plugin version to 1.0.2 2023-03-06 09:37:02 -05:00
e97239207a Updated to not use mavenLocal 2023-03-06 09:27:51 -05:00
6bb4fcedd4 Updated RIFE2 gradle plugin version 2023-03-05 14:17:33 -05:00
17a6fee9bb Use published gradle plugin 2023-03-05 14:10:24 -05:00
7f82944093 Aligned with Gradle plugin source state 2023-03-05 13:19:23 -05:00
794f614e57 Minor cleanup 2023-03-05 11:16:32 -05:00
1d45241fae Minor cleanup 2023-03-05 11:12:19 -05:00
938372addc Made GraalVM plugin work with Jetty and JDK 19 2023-03-05 10:56:37 -05:00
a3a5c7c380 Made "src/main/resources/templates" the only default template dir.
Made the template excludes adapt to the template types that are pre-compiled and use a more restrictive pattern.
2023-03-05 10:52:34 -05:00
b51e36ee73
Merge pull request #8 from melix/cc/configurable-templates
Make the template directories configurable
2023-03-05 10:39:48 -05:00
83e52c0e06
Merge pull request #7 from melix/cc/use-official-graalvm-plugin
Use the official GraalVM plugin
2023-03-05 10:39:39 -05:00
Cedric Champeau
d06124c26d
Make the template directories configurable
Adding a directory can be done via the extension:

```gradle
rife2 {
   templateDirectories.from(file("my-template-dir"))
}
```

By default the template directories include both `src/main/templates`
and `src/main/resources/templates`. If you want to ignore those,
then you need to clear the default:

```gradle
rife2 {
    templateDirectories.from.clear()
    templateDirectories.from(file("my-template-dir"))
}
```
2023-03-05 16:36:31 +01:00
Cedric Champeau
a79e616d79
Use the official GraalVM plugin 2023-03-05 16:23:48 +01:00
de5c974f15
Merge pull request #6 from melix/cc/additional-template-dirs
Add support for extra template directories
2023-03-05 09:59:57 -05:00
0a2b061679 Reverted dependencies back to the explicit version 2023-03-05 09:12:58 -05:00
Cedric Champeau
21c85ea93b
Add support for extra template directories
By default, the template was using `src/main/templates` as the source directory
for templates. This has the benefit of properly isolating the templates from
the application classpath: the framework is then responsible for injecting them
to the app runtime in whatever suitable form: either untouched as sources (in
development mode), or precompiled (for production).

With this change, it is also possible to use `src/main/resources/templates` as
a source directory. It _may_ feel more natural to users (although I would disagree),
but it has the drawback that the jars have to be configured to _exclude_ those
resources, because by default whatever is in `src/main/resources` MUST be included
in a jar (independently of the run mode).

It is also possible for the user to configure additional source directories should
they want to.
2023-03-05 15:10:46 +01:00
cf4870745c Made precompiledTemplateTypes plugin option not use HTML by default
Cleanup minimal test project.
2023-03-05 09:07:29 -05:00
5ca1fa305b Gradle plugin test fix 2023-03-05 08:51:14 -05:00
d8c41b45d9
Merge pull request #5 from melix/cc/fix-template-reloading
Fix template reloading
2023-03-05 08:15:10 -05:00
Cedric Champeau
c9f286132c
Fix reloading of templates
This commit fixes how templates were reloaded. There was a bug in
the plugin which used the output of the precompiled templates for
development only dependencies, instead of the templates directory.
This caused the templates to be always compiled and added as a
resource on runtime classpath, when we only wanted the raw templates.

This commit also adds functional tests to the build logic, which
can be executed by running `./gradlew build-logic:test`.
2023-03-05 13:44:10 +01:00
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