Skip to content

Commit 2445aa2

Browse files
committed
assume release = true if local.properties does not exist
1 parent 9c13746 commit 2445aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/LocalProperties.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import java.io.File
33
import java.util.*
44

55
class LocalProperties private constructor(file: File) : Properties() {
6-
val isRelease: Boolean get() = getProperty("physxjni.isRelease").toBoolean()
6+
val isRelease: Boolean get() = getProperty("physxjni.isRelease", "true").toBoolean()
77

88
init {
99
if (file.exists()) {

0 commit comments

Comments
 (0)