Skip to content

Commit

Permalink
Merge pull request #312 from grails/revert-311-gradle-89-compat
Browse files Browse the repository at this point in the history
Revert "Make Gradle 8.9 compatable"
  • Loading branch information
codeconsole authored Jul 30, 2024
2 parents a823c74 + 59ef00e commit e05b3a1
Showing 1 changed file with 8 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,30 +1,22 @@
package org.grails.gradle.plugin.web.gsp

import org.gradle.api.model.ObjectFactory
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Nested
import org.gradle.api.tasks.compile.AbstractOptions
import org.gradle.api.tasks.compile.BaseForkOptions
import org.gradle.api.tasks.compile.GroovyForkOptions
import javax.inject.Inject;

/**
* Presents the Compile Options used by the {@llink GroovyPageForkCompileTask}
*
* @author David Estes
* @since 4.0
*/
class GspCompileOptions extends AbstractOptions {
* Presents the Compile Options used by the {@llink GroovyPageForkCompileTask}
*
* @author David Estes
* @since 4.0
*/
class GspCompileOptions implements Serializable {
private static final long serialVersionUID = 0L;

@Input
String encoding = "UTF-8"

@Inject
protected ObjectFactory getObjectFactory() {
throw new UnsupportedOperationException();
}
String encoding = "UTF-8"

@Nested
GroovyForkOptions forkOptions = getObjectFactory().newInstance(GroovyForkOptions.class)
GroovyForkOptions forkOptions = new GroovyForkOptions()
}

0 comments on commit e05b3a1

Please sign in to comment.