updated build config

This commit is contained in:
Mariotaku Lee 2017-03-01 14:32:55 +08:00
parent d89ce3bfbd
commit 2d3d536e6d
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
4 changed files with 4 additions and 5 deletions

5
.gitignore vendored
View File

@ -24,8 +24,7 @@ ehthumbs.db
Thumbs.db
# Private files
/signing.properties
/twidere.jks
/priv_components_ssh_key
/private
# Local files
/captures

View File

@ -62,7 +62,7 @@ before_install:
install:
# Extracts build configs into source tree
- tar zxf travis/configs/twidere_private_config.tar.gz
- GIT_SSH_COMMAND='ssh -i priv_components_ssh_key' git clone $COMPONENT_GOOGLE_REPO twidere/src/google > /dev/null 2>&1
- GIT_SSH_COMMAND='ssh -i private/ssh_id_rsa -o UserKnownHostsFile private/ssh_known_hosts' git clone $COMPONENT_GOOGLE_REPO twidere/src/google > /dev/null 2>&1
before_script:
# Validate if patches work

View File

@ -78,7 +78,7 @@ subprojects {
if (android.hasProperty('buildTypes') && project.plugins.hasPlugin('com.android.application')) {
android.buildTypes.each { buildType ->
def file = rootProject.file('signing.properties')
def file = rootProject.file('private/signing.properties')
if (file.exists()) {
def cfg = signingConfigs.maybeCreate(buildType.name)
loadSigningConfig(cfg, file)