mirror of
				https://github.com/SimpleMobileTools/Simple-Flashlight.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	updating commons to 5.0.14
This commit is contained in:
		| @@ -8,7 +8,7 @@ android { | |||||||
|  |  | ||||||
|     defaultConfig { |     defaultConfig { | ||||||
|         applicationId "com.simplemobiletools.flashlight" |         applicationId "com.simplemobiletools.flashlight" | ||||||
|         minSdkVersion 16 |         minSdkVersion 21 | ||||||
|         targetSdkVersion 28 |         targetSdkVersion 28 | ||||||
|         versionCode 31 |         versionCode 31 | ||||||
|         versionName "4.2.0" |         versionName "4.2.0" | ||||||
| @@ -41,7 +41,7 @@ android { | |||||||
| } | } | ||||||
|  |  | ||||||
| dependencies { | dependencies { | ||||||
|     implementation 'com.simplemobiletools:commons:4.9.1' |     implementation 'com.simplemobiletools:commons:5.0.14' | ||||||
|     implementation 'com.squareup:otto:1.3.8' |     implementation 'com.squareup:otto:1.3.8' | ||||||
|     implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2' |     implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2' | ||||||
| } | } | ||||||
|   | |||||||
| @@ -8,7 +8,6 @@ import android.os.Handler | |||||||
| import com.simplemobiletools.flashlight.models.Events | import com.simplemobiletools.flashlight.models.Events | ||||||
| import com.squareup.otto.Bus | import com.squareup.otto.Bus | ||||||
|  |  | ||||||
| @TargetApi(Build.VERSION_CODES.LOLLIPOP) |  | ||||||
| internal class MarshmallowCamera constructor(val context: Context) { | internal class MarshmallowCamera constructor(val context: Context) { | ||||||
|  |  | ||||||
|     private val manager = context.getSystemService(Context.CAMERA_SERVICE) as CameraManager |     private val manager = context.getSystemService(Context.CAMERA_SERVICE) as CameraManager | ||||||
|   | |||||||
| @@ -4,12 +4,12 @@ buildscript { | |||||||
|     ext.kotlin_version = '1.2.71' |     ext.kotlin_version = '1.2.71' | ||||||
|  |  | ||||||
|     repositories { |     repositories { | ||||||
|         jcenter() |  | ||||||
|         google() |         google() | ||||||
|  |         jcenter() | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     dependencies { |     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" |         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 | ||||||
| @@ -19,8 +19,8 @@ buildscript { | |||||||
|  |  | ||||||
| allprojects { | allprojects { | ||||||
|     repositories { |     repositories { | ||||||
|         jcenter() |  | ||||||
|         google() |         google() | ||||||
|  |         jcenter() | ||||||
|         maven { url "https://jitpack.io" } |         maven { url "https://jitpack.io" } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user