mirror of
				https://github.com/SimpleMobileTools/Simple-Flashlight.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	updating commons, gradle, kotlin, sdk to 29
This commit is contained in:
		| @@ -9,13 +9,13 @@ if (keystorePropertiesFile.exists()) { | ||||
| } | ||||
|  | ||||
| android { | ||||
|     compileSdkVersion 28 | ||||
|     buildToolsVersion "28.0.3" | ||||
|     compileSdkVersion 29 | ||||
|     buildToolsVersion "29.0.2" | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId "com.simplemobiletools.flashlight" | ||||
|         minSdkVersion 21 | ||||
|         targetSdkVersion 28 | ||||
|         targetSdkVersion 29 | ||||
|         versionCode 35 | ||||
|         versionName "5.0.3" | ||||
|         setProperty("archivesBaseName", "flashlight") | ||||
| @@ -56,7 +56,7 @@ android { | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation 'com.simplemobiletools:commons:5.17.17' | ||||
|     implementation 'com.simplemobiletools:commons:5.21.13' | ||||
|     implementation 'com.squareup:otto:1.3.8' | ||||
|     implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2' | ||||
| } | ||||
|   | ||||
| @@ -53,7 +53,7 @@ class MyWidgetProvider : AppWidgetProvider() { | ||||
|  | ||||
|     private fun toggleFlashlight(context: Context, intent: Intent) { | ||||
|         if (intent.extras?.containsKey(IS_ENABLED) == true) { | ||||
|             val enable = intent.extras.getBoolean(IS_ENABLED) | ||||
|             val enable = intent.extras!!.getBoolean(IS_ENABLED) | ||||
|             val widgetBgColor = context.config.widgetBgColor | ||||
|             val alpha = Color.alpha(widgetBgColor) | ||||
|             val selectedColor = if (enable) widgetBgColor else Color.WHITE | ||||
|   | ||||
| @@ -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.50' | ||||
|     ext.kotlin_version = '1.3.61' | ||||
|  | ||||
|     repositories { | ||||
|         google() | ||||
| @@ -9,7 +9,7 @@ buildscript { | ||||
|     } | ||||
|  | ||||
|     dependencies { | ||||
|         classpath 'com.android.tools.build:gradle:3.5.1' | ||||
|         classpath 'com.android.tools.build:gradle:3.5.3' | ||||
|         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||||
|  | ||||
|         // NOTE: Do not place your application dependencies here; they belong | ||||
|   | ||||
		Reference in New Issue
	
	Block a user