diff --git a/libpng/build.gradle.kts b/libpng/build.gradle.kts index 916c71c..ac5875d 100644 --- a/libpng/build.gradle.kts +++ b/libpng/build.gradle.kts @@ -47,10 +47,8 @@ tasks.prefabPackage { modules { create("png16") { - if (project.findProperty("libraryType") == "static") { - static.set(true) - dependencies.set(listOf("z", "m")) - } + static.set(project.findProperty("libraryType") == "static") + dependencies.set(listOf("z", "m")) } } }