|
@@ -131,6 +131,10 @@ android {
|
|
exclude 'META-INF/LICENSE'
|
|
exclude 'META-INF/LICENSE'
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ signingConfigs {
|
|
|
|
+ release
|
|
|
|
+ }
|
|
|
|
+
|
|
task checkstyle(type: Checkstyle) {
|
|
task checkstyle(type: Checkstyle) {
|
|
configFile = file("${rootProject.projectDir}/checkstyle.xml")
|
|
configFile = file("${rootProject.projectDir}/checkstyle.xml")
|
|
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
|
|
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
|
|
@@ -186,6 +190,20 @@ android {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ buildTypes {
|
|
|
|
+ release {
|
|
|
|
+ signingConfig signingConfigs.release
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+if (project.hasProperty('RELEASE_STORE_FILE')) {
|
|
|
|
+ android.signingConfigs.release.storeFile = file(RELEASE_STORE_FILE)
|
|
|
|
+ android.signingConfigs.release.storePassword = RELEASE_STORE_PASSWORD
|
|
|
|
+ android.signingConfigs.release.keyAlias = RELEASE_KEY_ALIAS
|
|
|
|
+ android.signingConfigs.release.keyPassword = RELEASE_KEY_PASSWORD
|
|
}
|
|
}
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
@@ -193,6 +211,7 @@ dependencies {
|
|
implementation 'com.android.support:multidex:1.0.2'
|
|
implementation 'com.android.support:multidex:1.0.2'
|
|
implementation 'com.github.nextcloud:android-library:1.0.33'
|
|
implementation 'com.github.nextcloud:android-library:1.0.33'
|
|
versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT' // use always latest master
|
|
versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT' // use always latest master
|
|
|
|
+ versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'
|
|
implementation "com.android.support:support-v4:${supportLibraryVersion}"
|
|
implementation "com.android.support:support-v4:${supportLibraryVersion}"
|
|
implementation "com.android.support:design:${supportLibraryVersion}"
|
|
implementation "com.android.support:design:${supportLibraryVersion}"
|
|
implementation 'com.jakewharton:disklrucache:2.0.2'
|
|
implementation 'com.jakewharton:disklrucache:2.0.2'
|