Hello, I'm traying to migrate a `zip` task to grad...
# gradle
f
Hello, I'm traying to migrate a
zip
task to gradle 5.1
Copy code
val zipFiles by register<Zip>("zipFiles") {
        dependsOn(copyConf)

        from("$buildDir/dist") {
            include("**/*.jar")
            include("**/conf/")
            into("release")
        }
        archiveFileName.set("$buildDir/myfile.zip")
        doLast {
            logger.lifecycle("Test data packed to ${archiveFile.get()}")
        }
    }
but I get a
Caused by: org.gradle.api.InvalidUserDataException: No value has been specified for property 'archiveFile'.
Any ideas? ­čÖĆ