This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="AndroidAntBoilerPlateExample" > | |
<!-- Copy Config.java to our source tree, replacing custom tokens with values in build.properties. The configuration depends on "clean" because otherwise the build system will not detect changes in the configuration. --> | |
<target | |
name="dev" | |
description="Copy env filtered values" > | |
<!-- Copy the configuration file, replacing tokens in the file. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun setupCoroutineDebugMode() { | |
val debugProperty = if (BuildConfig.DEBUG) { | |
kotlinx.coroutines.DEBUG_PROPERTY_VALUE_ON | |
} else { | |
kotlinx.coroutines.DEBUG_PROPERTY_VALUE_OFF | |
} | |
System.setProperty(kotlinx.coroutines.DEBUG_PROPERTY_NAME, debugProperty) | |
} |