2
0
Fork 0
mirror of https://github.com/ethauvin/rife2-hello.git synced 2025-04-25 15:37:10 -07:00
rife2-hello/build-logic
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
..
src Make the template directories configurable 2023-03-05 16:36:31 +01:00
build.gradle.kts Fix reloading of templates 2023-03-05 13:44:10 +01:00
settings.gradle.kts Fix reloading of templates 2023-03-05 13:44:10 +01:00