1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 13:51:16 +00:00

Don't upgrade plugin to 3.0 yet, as it breaks lint

https://stackoverflow.com/a/47127584/1837158
This commit is contained in:
Felix Ableitner 2017-11-13 11:09:26 +09:00
parent 9671bc584a
commit 473b2040fc
5 changed files with 22 additions and 23 deletions

View file

@ -38,5 +38,5 @@ cache:
- $HOME/.gradle/wrapper/ - $HOME/.gradle/wrapper/
script: script:
- ./gradlew lintVitalRelease - ./gradlew lint
- ./gradlew buildNative assembleDebug - ./gradlew buildNative assembleDebug

View file

@ -6,9 +6,7 @@
A wrapper of [Syncthing](https://github.com/syncthing/syncthing) for Android. A wrapper of [Syncthing](https://github.com/syncthing/syncthing) for Android.
<img src="src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_1.png" alt="screenshot 1" width="200" /> <img src="app/src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_1.png" alt="screenshot 1" width="200" /> <img src="app/src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_2.png" alt="screenshot 2" width="200" /> <img src="app/src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_3.png" alt="screenshot 3" width="200" />
<img src="src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_2.png" alt="screenshot 2" width="200" />
<img src="src/main/play/en-GB/listing/phoneScreenshots/screenshot_phone_3.png" alt="screenshot 3" width="200" />
[<img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" height="80">](https://play.google.com/store/apps/details?id=com.nutomic.syncthingandroid) [<img alt="Get it on F-Droid" src="https://f-droid.org/badge/get-it-on.png" height="80">](https://f-droid.org/app/com.nutomic.syncthingandroid) [<img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" height="80">](https://play.google.com/store/apps/details?id=com.nutomic.syncthingandroid) [<img alt="Get it on F-Droid" src="https://f-droid.org/badge/get-it-on.png" height="80">](https://f-droid.org/app/com.nutomic.syncthingandroid)

View file

@ -1,21 +1,22 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'com.github.ben-manes.versions' apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.github.triplet.play' apply plugin: 'com.github.triplet.play'
apply plugin: 'me.tatarka.retrolambda'
dependencies { dependencies {
implementation 'eu.chainfire:libsuperuser:1.0.0.201704021214' compile 'eu.chainfire:libsuperuser:1.0.0.201704021214'
implementation 'com.android.support:design:27.0.1' compile 'com.android.support:design:27.0.1'
implementation 'com.google.zxing:android-integration:3.3.0' compile 'com.google.zxing:android-integration:3.3.0'
implementation 'com.google.code.gson:gson:2.8.2' compile 'com.google.code.gson:gson:2.8.2'
implementation 'org.mindrot:jbcrypt:0.4' compile 'org.mindrot:jbcrypt:0.4'
implementation 'com.google.guava:guava:20.0' compile 'com.google.guava:guava:20.0'
implementation 'com.annimon:stream:1.1.9' compile 'com.annimon:stream:1.1.9'
implementation 'com.android.volley:volley:1.0.0' compile 'com.android.volley:volley:1.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.android.support.constraint:constraint-layout:1.0.2'
implementation "com.google.dagger:dagger:2.13" compile "com.google.dagger:dagger:2.13"
annotationProcessor "com.google.dagger:dagger-compiler:2.13" annotationProcessor "com.google.dagger:dagger-compiler:2.13"
androidTestImplementation 'com.android.support.test:rules:1.0.1' androidTestCompile 'com.android.support.test:rules:1.0.1'
androidTestImplementation 'com.android.support:support-annotations:27.0.1' androidTestCompile 'com.android.support:support-annotations:27.0.1'
} }
android { android {
@ -42,9 +43,12 @@ android {
signingConfigs { signingConfigs {
release { release {
storeFile file(RELEASE_STORE_FILE) storeFile = {
def path = System.getenv("SYNCTHING_RELEASE_STORE_FILE")
return (path) ? file(path) : null
}()
storePassword System.getenv("SIGNING_PASSWORD") ?: "" storePassword System.getenv("SIGNING_PASSWORD") ?: ""
keyAlias RELEASE_KEY_ALIAS keyAlias System.getenv("SYNCTHING_RELEASE_KEY_ALIAS") ?: ""
keyPassword System.getenv("SIGNING_PASSWORD") ?: "" keyPassword System.getenv("SIGNING_PASSWORD") ?: ""
} }
} }

View file

@ -8,9 +8,10 @@ buildscript {
} }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0' classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.github.triplet.gradle:play-publisher:1.2.0' classpath 'com.github.triplet.gradle:play-publisher:1.2.0'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0' classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0'
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files

View file

@ -1,4 +0,0 @@
android.useDeprecatedNdk=true
org.gradle.jvmargs=-Xmx2048M
RELEASE_STORE_FILE=/home/felix/workspace/android.keystore
RELEASE_KEY_ALIAS=android