From 72bca050c5db6b9b655bc28db7f27d2bd8aeb93b Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 20 Aug 2019 16:11:30 +0200 Subject: [PATCH] updating commons, gradle, kotlin --- app/build.gradle | 2 +- .../flashlight/activities/SplashActivity.kt | 2 -- app/src/main/res/values/donottranslate.xml | 5 +++++ build.gradle | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/values/donottranslate.xml diff --git a/app/build.gradle b/app/build.gradle index 1975965..a5df023 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -50,7 +50,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.14.12' + implementation 'com.simplemobiletools:commons:5.16.12' implementation 'com.squareup:otto:1.3.8' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2' } diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/SplashActivity.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/SplashActivity.kt index 9b56512..4ba4513 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/SplashActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/activities/SplashActivity.kt @@ -4,8 +4,6 @@ import android.content.Intent import com.simplemobiletools.commons.activities.BaseSplashActivity class SplashActivity : BaseSplashActivity() { - override fun getAppPackageName() = packageName - override fun initActivity() { startActivity(Intent(this, MainActivity::class.java)) finish() diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml new file mode 100644 index 0000000..35c5aa6 --- /dev/null +++ b/app/src/main/res/values/donottranslate.xml @@ -0,0 +1,5 @@ + + + com.simplemobiletools.flashlight + + diff --git a/build.gradle b/build.gradle index bfe902f..cfaef4a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.3.40' + ext.kotlin_version = '1.3.41' repositories { google() @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.4.1' + classpath 'com.android.tools.build:gradle:3.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong