i-net-software / SetupBuilder

Gradle plugin for building setups for different platforms.
Other
87 stars 21 forks source link

Fix API that accepts closures so it an be used from Kotlin #100

Closed slonopotamus closed 3 years ago

slonopotamus commented 3 years ago

Several APIs used Closure as if V was closure argument. But instead, V is actually closure return type.

This commit replaces all user-facing APIs that accepts Closure to instead accept Action


Note that there is still a couple of places where Closure is used in the code. I'm not sure how to fix them properly.

slonopotamus commented 3 years ago

Warning! Your CI is not working. This PR wasn't tested. See ##101.