Strings, updates, and sonarqube.

This commit is contained in:
Amine 2017-10-21 20:10:19 +02:00
parent 94d23888b1
commit 8157146498
5 changed files with 24 additions and 9 deletions

View File

@ -23,6 +23,8 @@ def versionNameFromGit() {
return gitVersion().trim() return gitVersion().trim()
} }
apply plugin: 'org.sonarqube'
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'io.fabric' apply plugin: 'io.fabric'
@ -30,12 +32,14 @@ apply plugin: 'io.fabric'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
repositories { repositories {
maven { url 'https://maven.fabric.io/public' } maven {
url 'https://maven.fabric.io/public'
}
} }
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.1" buildToolsVersion '26.0.2'
defaultConfig { defaultConfig {
applicationId "apps.amine.bou.readerforselfoss" applicationId "apps.amine.bou.readerforselfoss"
minSdkVersion 16 minSdkVersion 16

View File

@ -28,7 +28,8 @@
android:name=".IntroActivity" android:name=".IntroActivity"
android:theme="@style/Theme.Intro"> android:theme="@style/Theme.Intro">
</activity> </activity>
<activity android:name=".LoginActivity" <activity
android:name=".LoginActivity"
android:label="@string/title_activity_login"> android:label="@string/title_activity_login">
</activity> </activity>
<activity android:name=".HomeActivity"> <activity android:name=".HomeActivity">
@ -41,13 +42,15 @@
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="apps.amine.bou.readerforselfoss.HomeActivity" /> android:value="apps.amine.bou.readerforselfoss.HomeActivity" />
</activity> </activity>
<activity android:name=".SourcesActivity" <activity
android:name=".SourcesActivity"
android:parentActivityName=".HomeActivity"> android:parentActivityName=".HomeActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" /> android:value=".HomeActivity" />
</activity> </activity>
<activity android:name=".AddSourceActivity" <activity
android:name=".AddSourceActivity"
android:parentActivityName=".SourcesActivity"> android:parentActivityName=".SourcesActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
@ -61,9 +64,11 @@
<data android:mimeType="text/plain" /> <data android:mimeType="text/plain" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".ReaderActivity" <activity
android:name=".ReaderActivity"
android:theme="@style/DragDismissTheme"> android:theme="@style/DragDismissTheme">
</activity> </activity>
<meta-data <meta-data
android:name="apps.amine.bou.readerforselfoss.utils.glide.SelfSignedGlideModule" android:name="apps.amine.bou.readerforselfoss.utils.glide.SelfSignedGlideModule"
android:value="GlideModule" /> android:value="GlideModule" />

View File

@ -31,7 +31,7 @@
<string name="cant_get_read">"Impossible de récupérer les éléments lus."</string> <string name="cant_get_read">"Impossible de récupérer les éléments lus."</string>
<string name="nothing_here">"Il n'y a rien ici !"</string> <string name="nothing_here">"Il n'y a rien ici !"</string>
<string name="tab_new">"Non lus"</string> <string name="tab_new">"Non lus"</string>
<string name="tab_read">"Lus"</string> <string name="tab_read">"Tous"</string>
<string name="tab_favs">"Favoris"</string> <string name="tab_favs">"Favoris"</string>
<string name="action_about">"À propos"</string> <string name="action_about">"À propos"</string>
<string name="marked_as_read">"Marqué comme lu"</string> <string name="marked_as_read">"Marqué comme lu"</string>

View File

@ -31,7 +31,7 @@
<string name="cant_get_read">"Can't get read articles"</string> <string name="cant_get_read">"Can't get read articles"</string>
<string name="nothing_here">"Nothing here"</string> <string name="nothing_here">"Nothing here"</string>
<string name="tab_new">"New"</string> <string name="tab_new">"New"</string>
<string name="tab_read">"Read"</string> <string name="tab_read">"All"</string>
<string name="tab_favs">"Favorites"</string> <string name="tab_favs">"Favorites"</string>
<string name="action_about">"About"</string> <string name="action_about">"About"</string>
<string name="marked_as_read">"Item read"</string> <string name="marked_as_read">"Item read"</string>

View File

@ -5,14 +5,20 @@ buildscript {
repositories { repositories {
jcenter() jcenter()
google() google()
maven {
url "https://jitpack.io"
}
} }
dependencies { 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" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// 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
classpath 'com.google.gms:google-services:3.1.0' 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"
} }
} }