mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-28 12:03:45 +01:00 
			
		
		
		
	Shizuku dependencies
This commit is contained in:
		| @@ -23,6 +23,7 @@ if (flutterVersionName == null) { | ||||
|  | ||||
| apply plugin: 'com.android.application' | ||||
| apply plugin: 'kotlin-android' | ||||
| apply plugin: 'dev.rikka.tools.refine' | ||||
| apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" | ||||
|  | ||||
| def keystoreProperties = new Properties() | ||||
| @@ -32,7 +33,7 @@ if (keystorePropertiesFile.exists()) { | ||||
| } | ||||
|  | ||||
| android { | ||||
|     compileSdkVersion 33 | ||||
|     compileSdkVersion 34 | ||||
|     ndkVersion flutter.ndkVersion | ||||
|  | ||||
|     compileOptions { | ||||
| @@ -52,8 +53,8 @@ android { | ||||
|         applicationId "dev.imranr.obtainium" | ||||
|         // You can update the following values to match your application needs. | ||||
|         // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. | ||||
|         minSdkVersion 23 | ||||
|         targetSdkVersion 33 | ||||
|         minSdkVersion 24 | ||||
|         targetSdkVersion 34 | ||||
|         versionCode flutterVersionCode.toInteger() | ||||
|         versionName flutterVersionName | ||||
|     } | ||||
| @@ -96,6 +97,18 @@ repositories { | ||||
|  | ||||
| dependencies { | ||||
|     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||||
|     def libsuVersion = '5.2.2' | ||||
|     implementation "com.github.topjohnwu.libsu:core:${libsuVersion}" | ||||
|  | ||||
|     def shizuku_version = '13.1.5' | ||||
|     implementation "dev.rikka.shizuku:api:$shizuku_version" | ||||
|     implementation "dev.rikka.shizuku:provider:$shizuku_version" | ||||
|  | ||||
|     def hidden_api_version = '4.1.0' | ||||
|     // DO NOT UPDATE Hidden API without updating the Android tools | ||||
|     // and do not update Android tools without updating the whole Flutter | ||||
|     // (also in android/build.gradle) | ||||
|     implementation "dev.rikka.tools.refine:runtime:$hidden_api_version" | ||||
|     implementation "dev.rikka.hidden:compat:$hidden_api_version" | ||||
|     compileOnly "dev.rikka.hidden:stub:$hidden_api_version" | ||||
|  | ||||
|     implementation "com.github.topjohnwu.libsu:core:5.2.2" | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user