Relative Content

Tag Archive for kotlinzipbuild.gradle

What am I doing wrong when trying to have Gradle (Kotlin) generate a zip file?

I’d like to use Gradle to package two .java files in a .zip file – so I added to my build.gradle.ktl file the following code. I have no build errors and running ./gradlew assemble –dry-run I can see the new task being executed, but I actually don’t see the expected .zip file (anywhere, not just on desktop as expected). Anything I could be missing / doing incorrectly? Thanks!