fix template rendering

This commit is contained in:
Akinwale Ariwodola 2021-06-24 22:55:44 +01:00
parent 2eb913cb62
commit bfc95cc130
2 changed files with 9 additions and 6 deletions

View file

@ -404,7 +404,10 @@ main.py that loads it.''')
android_api=android_api,
build_tools_version=build_tools_version)
render('gradle.properties', 'gradle.properties')
render(
'gradle.properties',
'gradle.properties',
env=os.environ)
# copy icon drawables
for folder in ('drawable-hdpi', 'drawable-mdpi', 'drawable-xhdpi', 'drawable-xxhdpi', 'drawable-xxxhdpi'):

View file

@ -1,9 +1,9 @@
android.useAndroidX=true
android.enableJetifier=true
nexusUsername=${env.SONATYPE_USERNAME}
nexusPassword=${env.SONATYPE_PASSWORD}
nexusUsername={{ env["SONATYPE_USERNAME"] }}
nexusPassword={{ env["SONATYPE_PASSWORD"] }}
signing.keyId=${env.NEXUS_SIGNING_KEY_ID}
signing.password=${env.NEXUS_SIGNING_KEY_PASSWORD}
signing.secretKeyRingFile=${env.NEXUS_SIGNING_KEYRING_FILE}
signing.keyId={{ env["NEXUS_SIGNING_KEY_ID"] }}
signing.password={{ env["NEXUS_SIGNING_KEY_PASSWORD"] }}
signing.secretKeyRingFile={{ env["NEXUS_SIGNING_KEYRING_FILE"] }}