mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-17 04:00:48 +01:00
disable pre-dexing for CI builds
This commit is contained in:
parent
bcb385e136
commit
44e2ab05f8
@ -27,6 +27,7 @@ jdk:
|
|||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- TRAVIS_BUILD=true
|
||||||
global:
|
global:
|
||||||
MALLOC_ARENA_MAX=2
|
MALLOC_ARENA_MAX=2
|
||||||
|
|
||||||
|
@ -53,6 +53,13 @@ subprojects {
|
|||||||
exclude 'META-INF/ASL2.0'
|
exclude 'META-INF/ASL2.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (System.getenv('TRAVIS_BUILD') == 'true') {
|
||||||
|
System.out.println("Is travis build, disable pre-dexing")
|
||||||
|
dexOptions {
|
||||||
|
preDexLibraries = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (android.hasProperty('buildTypes') && project.plugins.hasPlugin('com.android.application')) {
|
if (android.hasProperty('buildTypes') && project.plugins.hasPlugin('com.android.application')) {
|
||||||
android.buildTypes.each { buildType ->
|
android.buildTypes.each { buildType ->
|
||||||
File file = rootProject.file('signing.properties')
|
File file = rootProject.file('signing.properties')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user