You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The following functionality is provided by the rocker plugin:
33
33
The following Gradle configuration changes are contributed by the rocker plugin:
34
34
35
35
* Add the `com.fizzed:rocker-compiler` dependency needed to execute the Rocker template engine to the new `rockerCompiler` configuration
36
-
* Add the `com.fizzed:rocker-runtime` dependency to the name-matching `compile` configuration to successfully compile the Java sources generated from the Rocker templates
36
+
* Add the `com.fizzed:rocker-runtime` dependency to the name-matching `implementation` configuration to successfully compile the Java sources generated from the Rocker templates
37
37
* Use the customizable Rocker version across all `com.fizzed:rocker-*` dependencies
38
38
39
39
The following Gradle features are supported by the rocker plugin:
@@ -96,7 +96,7 @@ rocker {
96
96
}
97
97
}
98
98
99
-
rockerVersion = '0.20.0' // optional
99
+
rockerVersion = '1.2.2' // optional
100
100
```
101
101
102
102
The rocker _main_ configuration declares that the Rocker templates are in _src/rocker_ and the generated Java sources need to end up in _src/generated/rocker_. It further
@@ -106,7 +106,7 @@ of the configuration is `main`, the generated sources are added to the `main` so
106
106
Given the configuration above, you can invoke the Rocker template engine by issuing `./gradlew compileRocker`. You can also directly call `./gradlew compileJava` which first
107
107
generates the Java sources from the Rocker templates, and then compiles these Java sources as part of compiling all sources in the _main_ source set.
108
108
109
-
Since we declared to use version _0.20.0_ of the Rocker template engine, all Rocker dependencies of all Gradle configurations will be of that given version.
109
+
Since we declared to use version _1.2.2_ of the Rocker template engine, all Rocker dependencies of all Gradle configurations will be of that given version.
110
110
111
111
> I suggest you use the [Continuous build](https://docs.gradle.org/current/userguide/continuous_build.html) feature of Gradle instead of using the Rocker hot reload feature.
112
112
> Declare `optimize = true` in the rocker configuration of your Gradle build, and then run your build with the `-t` command line option. In addition, deactivating the hot
0 commit comments