@@ -20,7 +20,7 @@ apply plugin: 'pmd'
20
20
apply plugin : ' findbugs'
21
21
22
22
ext {
23
- supportLibraryVersion = ' 23.4.0 '
23
+ supportLibraryVersion = ' 24.1.1 '
24
24
}
25
25
26
26
repositories {
@@ -82,8 +82,8 @@ android {
82
82
htmlReport true
83
83
htmlOutput file(" $project . buildDir /reports/lint/lint.html" )
84
84
}
85
- compileSdkVersion 23
86
- buildToolsVersion " 23 .0.3 "
85
+ compileSdkVersion 24
86
+ buildToolsVersion " 24 .0.0 "
87
87
88
88
defaultConfig {
89
89
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
@@ -94,6 +94,11 @@ android {
94
94
testInstrumentationRunnerArgument " TEST_SERVER_URL" , " \" $System . env . OCTEST_SERVER_BASE_URL \" "
95
95
96
96
applicationId " com.nextcloud.client"
97
+
98
+ // Enable the experimental Jack build tools.
99
+ jackOptions {
100
+ enabled true
101
+ }
97
102
}
98
103
99
104
// adapt structure from Eclipse to Gradle/Android Studio expectations;
@@ -126,8 +131,8 @@ android {
126
131
}
127
132
128
133
compileOptions {
129
- sourceCompatibility JavaVersion . VERSION_1_7
130
- targetCompatibility JavaVersion . VERSION_1_7
134
+ sourceCompatibility JavaVersion . VERSION_1_8
135
+ targetCompatibility JavaVersion . VERSION_1_8
131
136
}
132
137
133
138
lintOptions {
@@ -137,7 +142,6 @@ android {
137
142
packagingOptions {
138
143
exclude ' META-INF/LICENSE.txt'
139
144
}
140
-
141
145
task checkstyle(type : Checkstyle ) {
142
146
configFile = file(" ${ rootProject.projectDir} /checkstyle.xml" )
143
147
configProperties. checkstyleSuppressionsPath = file(" ${ project.rootDir} /config/quality/checkstyle/suppressions.xml" ). absolutePath
0 commit comments