Skip to content

Commit

Permalink
build: exclude subproject if native disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
silenium-dev committed Jul 28, 2024
1 parent 43f743f commit 04971a4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
rootProject.name = "ffmpeg-static"
include(":ffmpeg")

val deployNative = if (extra.has("deploy.native")) {
extra.get("deploy.native")?.toString()?.toBoolean() ?: true
} else true
if (deployNative) {
include(":ffmpeg")
}

0 comments on commit 04971a4

Please sign in to comment.