Skip to content

Commit 56ee052

Browse files
committed
build:调整判断逻辑
1 parent c875e7d commit 56ee052

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ rootProject.name = "FloatingX"
1010
include ':app'
1111
include ':floatingx'
1212

13-
// 本地测试时,在 local.properties 新增 IS_DEV=true
13+
// 依赖远程测试时,在 local.properties 新增 IS_DEV=false,然后sync project
1414
def localProperties = readPropertiesIfExist(new File(settingsDir, "local.properties"))
15-
gradle.ext.IS_DEV = localProperties.getProperty("IS_DEV", "false").toBoolean()
15+
gradle.ext.IS_DEV = localProperties.getProperty("IS_DEV", "true").toBoolean()
1616

1717
static Properties readPropertiesIfExist(File propertiesFile) {
1818
Properties result = new Properties()

0 commit comments

Comments
 (0)