HHH-13925 Upgrade hibernate-gradle-plugin to Gradle 6
This commit is contained in:
parent
bee15c498f
commit
9bb76a5cca
|
@ -12,7 +12,7 @@ package org.hibernate.orm.tooling.gradle
|
|||
*
|
||||
* @author Steve Ebersole
|
||||
*/
|
||||
class EnhanceExtension {
|
||||
class EnhanceExtension implements Serializable {
|
||||
def boolean enableLazyInitialization = false
|
||||
def boolean enableDirtyTracking = false
|
||||
def boolean enableAssociationManagement = false
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
package org.hibernate.orm.tooling.gradle
|
||||
|
||||
import org.gradle.api.DefaultTask
|
||||
import org.gradle.api.tasks.Input
|
||||
import org.gradle.api.tasks.InputFiles
|
||||
import org.gradle.api.tasks.SourceSet
|
||||
import org.gradle.api.tasks.TaskAction
|
||||
import org.gradle.util.ConfigureUtil
|
||||
|
@ -16,7 +18,9 @@ import org.gradle.util.ConfigureUtil
|
|||
*/
|
||||
@SuppressWarnings("unused")
|
||||
class EnhanceTask extends DefaultTask {
|
||||
@Input
|
||||
EnhanceExtension options
|
||||
@InputFiles
|
||||
SourceSet[] sourceSets
|
||||
|
||||
@TaskAction
|
||||
|
|
Loading…
Reference in New Issue