Skip to content

Commit 0aa220a

Browse files
committed
try to make prop optional again
1 parent 047b490 commit 0aa220a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/kotlin/app/opendocument/ConanInstallTask.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ abstract class ConanInstallTask : Exec() {
4747
abstract val conanExecutable: Property<String>
4848

4949
@get:Input
50-
abstract val deployer: Property<String?>
50+
@get:Optional
51+
abstract val deployer: Property<String>
5152

5253
@get:Input
53-
abstract val deployerFolder: Property<String?>
54+
@get:Optional
55+
abstract val deployerFolder: Property<String>
5456

5557
init {
5658
profile.convention("default")
5759
buildProfile.convention("default")
5860
conanfile.convention(".")
5961
conanExecutable.convention("conan")
60-
deployer.convention(null as String?)
61-
deployerFolder.convention(null as String?)
6262
}
6363

6464
@get:OutputDirectory

0 commit comments

Comments
 (0)