updating commons to 5.0.14

This commit is contained in:
tibbi 2018-10-12 22:17:58 +02:00
parent f9672214da
commit 794232e26b
3 changed files with 5 additions and 6 deletions

View File

@ -8,7 +8,7 @@ android {
defaultConfig {
applicationId "com.simplemobiletools.flashlight"
minSdkVersion 16
minSdkVersion 21
targetSdkVersion 28
versionCode 31
versionName "4.2.0"
@ -41,7 +41,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:4.9.1'
implementation 'com.simplemobiletools:commons:5.0.14'
implementation 'com.squareup:otto:1.3.8'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
}

View File

@ -8,7 +8,6 @@ import android.os.Handler
import com.simplemobiletools.flashlight.models.Events
import com.squareup.otto.Bus
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
internal class MarshmallowCamera constructor(val context: Context) {
private val manager = context.getSystemService(Context.CAMERA_SERVICE) as CameraManager

View File

@ -4,12 +4,12 @@ buildscript {
ext.kotlin_version = '1.2.71'
repositories {
jcenter()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
@ -19,8 +19,8 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
jcenter()
maven { url "https://jitpack.io" }
}
}