88buildscript {
99 repositories {
1010 jcenter()
11+ maven {
12+ url ' https://oss.sonatype.org/content/repositories/snapshots/'
13+ }
1114 }
1215 dependencies {
1316 classpath ' com.android.tools.build:gradle:2.2.3'
@@ -20,7 +23,7 @@ apply plugin: 'pmd'
2023apply plugin : ' findbugs'
2124
2225ext {
23- supportLibraryVersion = ' 24.2.1 '
26+ supportLibraryVersion = ' 25.0.0 '
2427
2528 travisBuild = System . getenv(" TRAVIS" ) == " true"
2629
@@ -40,15 +43,18 @@ repositories {
4043dependencies {
4144 // / dependencies for app building
4245 compile name : ' touch-image-view'
46+ compile ' com.android.support:multidex:1.0.1'
4347
44- compile ' com.github.nextcloud:android-library:1.0.11 '
48+ compile ' com.github.nextcloud:android-library:1.0.12 '
4549 compile " com.android.support:support-v4:${ supportLibraryVersion} "
4650 compile " com.android.support:design:${ supportLibraryVersion} "
4751 compile ' com.jakewharton:disklrucache:2.0.2'
4852 compile " com.android.support:appcompat-v7:${ supportLibraryVersion} "
4953 compile ' com.getbase:floatingactionbutton:1.10.1'
5054 compile ' com.google.code.findbugs:annotations:2.0.1'
51-
55+ compile group : ' commons-io' , name : ' commons-io' , version : ' 2.4'
56+ compile ' com.google.android.gms:play-services:10.2.0'
57+ compile ' com.github.evernote:android-job:v1.1.7'
5258
5359 // / dependencies for local unit tests
5460 testCompile ' junit:junit:4.12'
@@ -89,6 +95,11 @@ android {
8995 htmlReport true
9096 htmlOutput file(" $project . buildDir /reports/lint/lint.html" )
9197 }
98+
99+ dexOptions {
100+ javaMaxHeapSize " 4g"
101+ }
102+
92103 compileSdkVersion 24
93104 buildToolsVersion " 24.0.2"
94105
@@ -100,6 +111,7 @@ android {
100111 testInstrumentationRunnerArgument " TEST_PASSWORD" , " \" $System . env . OCTEST_APP_PASSWORD \" "
101112 testInstrumentationRunnerArgument " TEST_SERVER_URL" , " \" $System . env . OCTEST_SERVER_BASE_URL \" "
102113
114+ multiDexEnabled true
103115 applicationId " com.nextcloud.client"
104116 }
105117
0 commit comments