Skip to content

Commit

Permalink
fix: no need to mark the extensions as Serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Sep 12, 2024
1 parent 3d58366 commit 08f64ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/kotlin/org/danilopianini/template/HelloGradle.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import org.gradle.api.tasks.TaskAction
import org.gradle.kotlin.dsl.create
import org.gradle.kotlin.dsl.property
import org.gradle.kotlin.dsl.register
import java.io.Serializable

/**
* Just a template.
Expand Down Expand Up @@ -55,14 +54,10 @@ open class HelloTask : DefaultTask() {
/**
* Just a template.
*/
open class HelloExtension(objects: ObjectFactory) : Serializable {
open class HelloExtension(objects: ObjectFactory) {

/**
* Just a template.
*/
val author: Property<String> = objects.property()

companion object {
private const val serialVersionUID = 1L
}
}

0 comments on commit 08f64ab

Please sign in to comment.