-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly define @input annotation on Task input Fixes grails/grails-core#12132
- Loading branch information
1 parent
2add937
commit dcd12c1
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
gradle/src/main/groovy/grails/views/gradle/ViewCompileOptions.groovy
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
package grails.views.gradle | ||
|
||
import org.gradle.api.tasks.Input | ||
import org.gradle.api.tasks.Nested | ||
import org.gradle.api.tasks.compile.GroovyForkOptions | ||
|
||
/** | ||
* @author Graeme Rocher | ||
* @since 1.0 | ||
*/ | ||
class ViewCompileOptions { | ||
class ViewCompileOptions implements Serializable { | ||
|
||
private static final long serialVersionUID = 0L; | ||
|
||
@Input | ||
String encoding = "UTF-8" | ||
|
||
@Nested | ||
GroovyForkOptions forkOptions = new GroovyForkOptions() | ||
|
||
} |
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