Skip to content

Commit

Permalink
added optional annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Aug 13, 2024
1 parent 0dd78d0 commit 1c8cf9a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import org.gradle.api.file.ProjectLayout
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.InputDirectory
import org.gradle.api.tasks.Optional
import org.gradle.api.tasks.OutputDirectory
import org.gradle.api.tasks.TaskAction
import java.io.File
Expand All @@ -23,15 +24,18 @@ abstract class CopySekretNativeBinaryTask : DefaultTask() {
@get:Input
open val enabled: Property<Boolean> = project.objects.property(Boolean::class.java)

@get:Optional
@get:InputDirectory
open val buildDirectory: DirectoryProperty = project.objects.directoryProperty()

@get:InputDirectory
open val sekretDirectory: DirectoryProperty = project.objects.directoryProperty()

@get:Optional
@get:OutputDirectory
open val androidDirectory: DirectoryProperty = project.objects.directoryProperty()

@get:Optional
@get:OutputDirectory
open val desktopComposeDirectory: DirectoryProperty = project.objects.directoryProperty()

Expand Down

0 comments on commit 1c8cf9a

Please sign in to comment.