updating kotlin, commons, gradle

This commit is contained in:
tibbi 2019-09-02 22:27:57 +02:00
parent 2f93af5f41
commit 01099e353e
6 changed files with 8 additions and 8 deletions

View File

@ -17,6 +17,7 @@ android {
versionCode 66 versionCode 66
versionName "5.0.2" versionName "5.0.2"
setProperty("archivesBaseName", "camera") setProperty("archivesBaseName", "camera")
vectorDrawables.useSupportLibrary = true
} }
signingConfigs { signingConfigs {
@ -50,5 +51,5 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.14.12' implementation 'com.simplemobiletools:commons:5.17.0'
} }

View File

@ -351,7 +351,7 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener {
} }
private fun initVideoButtons() { private fun initVideoButtons() {
toggle_photo_video.setImageResource(R.drawable.ic_camera) toggle_photo_video.setImageResource(R.drawable.ic_camera_vector)
showToggleCameraIfNeeded() showToggleCameraIfNeeded()
shutter.setImageResource(R.drawable.ic_video_rec) shutter.setImageResource(R.drawable.ic_video_rec)
setupPreviewImage(false) setupPreviewImage(false)

View File

@ -4,8 +4,6 @@ import android.content.Intent
import com.simplemobiletools.commons.activities.BaseSplashActivity import com.simplemobiletools.commons.activities.BaseSplashActivity
class SplashActivity : BaseSplashActivity() { class SplashActivity : BaseSplashActivity() {
override fun getAppPackageName() = packageName
override fun initActivity() { override fun initActivity() {
startActivity(Intent(this, MainActivity::class.java)) startActivity(Intent(this, MainActivity::class.java))
finish() finish()

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="package_name">com.simplemobiletools.camera</string>
<!-- Release notes --> <!-- Release notes -->
<string name="release_52">Allow changing the photo compression quality</string> <string name="release_52">Allow changing the photo compression quality</string>

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
ext.kotlin_version = '1.3.40' ext.kotlin_version = '1.3.50'
repositories { repositories {
google() google()
@ -9,7 +9,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.4.1' classpath 'com.android.tools.build:gradle:3.5.0'
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

View File

@ -1,6 +1,6 @@
#Sat Jul 06 15:11:08 CEST 2019 #Mon Sep 02 22:18:50 CEST 2019
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip