parent
82ab5b3f48
commit
6dcbe7ab9f
2 changed files with 12 additions and 0 deletions
|
@ -162,6 +162,11 @@ fullscreen = 0
|
||||||
# (list) Gradle dependencies to add
|
# (list) Gradle dependencies to add
|
||||||
#android.gradle_dependencies =
|
#android.gradle_dependencies =
|
||||||
|
|
||||||
|
# (bool) Enable AndroidX support. Enable when 'android.gradle_dependencies'
|
||||||
|
# contains an 'androidx' package, or any package from Kotlin source.
|
||||||
|
# android.enable_androidx requires android.api >= 28
|
||||||
|
#android.enable_androidx = False
|
||||||
|
|
||||||
# (list) add java compile options
|
# (list) add java compile options
|
||||||
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
|
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
|
||||||
# see https://developer.android.com/studio/write/java8-support for further information
|
# see https://developer.android.com/studio/write/java8-support for further information
|
||||||
|
|
|
@ -1167,6 +1167,13 @@ class TargetAndroid(Target):
|
||||||
if wakelock:
|
if wakelock:
|
||||||
build_cmd += [("--wakelock", )]
|
build_cmd += [("--wakelock", )]
|
||||||
|
|
||||||
|
# AndroidX ?
|
||||||
|
enable_androidx = config.getbooldefault('app',
|
||||||
|
'android.enable_androidx',
|
||||||
|
False)
|
||||||
|
if enable_androidx:
|
||||||
|
build_cmd += [("--enable-androidx", )]
|
||||||
|
|
||||||
# intent filters
|
# intent filters
|
||||||
intent_filters = config.getdefault(
|
intent_filters = config.getdefault(
|
||||||
'app', 'android.manifest.intent_filters', '')
|
'app', 'android.manifest.intent_filters', '')
|
||||||
|
|
Loading…
Reference in a new issue