updated build config
This commit is contained in:
parent
d89ce3bfbd
commit
2d3d536e6d
|
@ -24,8 +24,7 @@ ehthumbs.db
|
|||
Thumbs.db
|
||||
|
||||
# Private files
|
||||
/signing.properties
|
||||
/twidere.jks
|
||||
/priv_components_ssh_key
|
||||
/private
|
||||
|
||||
# Local files
|
||||
/captures
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue