From 8157146498e3483d17d0626b05a2d35e4c8d281b Mon Sep 17 00:00:00 2001 From: Amine Date: Sat, 21 Oct 2017 20:10:19 +0200 Subject: [PATCH] Strings, updates, and sonarqube. --- app/build.gradle | 8 ++++++-- app/src/main/AndroidManifest.xml | 13 +++++++++---- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values/strings.xml | 2 +- build.gradle | 8 +++++++- 5 files changed, 24 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index cc0e6bf..719f437 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,6 +23,8 @@ def versionNameFromGit() { return gitVersion().trim() } +apply plugin: 'org.sonarqube' + apply plugin: 'com.android.application' apply plugin: 'io.fabric' @@ -30,12 +32,14 @@ apply plugin: 'io.fabric' apply plugin: 'kotlin-android' repositories { - maven { url 'https://maven.fabric.io/public' } + maven { + url 'https://maven.fabric.io/public' + } } android { compileSdkVersion 26 - buildToolsVersion "26.0.1" + buildToolsVersion '26.0.2' defaultConfig { applicationId "apps.amine.bou.readerforselfoss" minSdkVersion 16 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9ecc30d..a501c0b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -28,7 +28,8 @@ android:name=".IntroActivity" android:theme="@style/Theme.Intro"> - @@ -41,13 +42,15 @@ android:name="android.support.PARENT_ACTIVITY" android:value="apps.amine.bou.readerforselfoss.HomeActivity" /> - - - + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index ef9c686..bb63b6c 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -31,7 +31,7 @@ "Impossible de récupérer les éléments lus." "Il n'y a rien ici !" "Non lus" - "Lus" + "Tous" "Favoris" "À propos" "Marqué comme lu" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b87e5da..ac8647d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -31,7 +31,7 @@ "Can't get read articles" "Nothing here" "New" - "Read" + "All" "Favorites" "About" "Item read" diff --git a/build.gradle b/build.gradle index 4518158..478d7ac 100644 --- a/build.gradle +++ b/build.gradle @@ -5,14 +5,20 @@ buildscript { repositories { jcenter() google() + maven { + url "https://jitpack.io" + } } dependencies { - classpath 'com.android.tools.build:gradle:3.0.0-beta6' + classpath 'com.android.tools.build:gradle:3.0.0-rc2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.google.gms:google-services:3.1.0' + + // Not the official version https://stackoverflow.com/questions/46525040/sonarqube-android-not-working-for-gradle-3-0-0/46813528#46813528 + classpath "com.github.Shusshu:sonar-scanner-gradle:feature~support-android-gradle-3-SNAPSHOT" } }