Skip to content

Commit

Permalink
[Issue #9] Update libpng prefab dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Oct 31, 2023
1 parent 0df5387 commit f85c9aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions libpng/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.gradle.jvm.tasks.Jar
val portVersion = "1.6.40"

group = rootProject.group
version = "${portVersion}-beta-3"
version = "${portVersion}-beta-4"

plugins {
id("maven-publish")
Expand Down Expand Up @@ -47,8 +47,10 @@ tasks.prefabPackage {

modules {
create("png16") {
static.set(project.findProperty("libraryType") == "static")
dependencies.set(listOf("z", "m"))
if (project.findProperty("libraryType") == "static") {
static.set(true)
dependencies.set(listOf("z", "m"))
}
}
}
}
Expand Down

0 comments on commit f85c9aa

Please sign in to comment.