mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Update Android Studio
This commit is contained in:
parent
4eb9240806
commit
24603b3cef
@ -19,6 +19,8 @@ kapt {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.topjohnwu.magisk"
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.topjohnwu.magisk"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
@ -123,5 +125,5 @@ dependencies {
|
||||
implementation("androidx.transition:transition:1.4.1")
|
||||
implementation("androidx.core:core-ktx:1.7.0")
|
||||
implementation("androidx.core:core-splashscreen:1.0.0-beta02")
|
||||
implementation("com.google.android.material:material:1.5.0")
|
||||
implementation("com.google.android.material:material:1.6.0")
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ plugins {
|
||||
setupCommon()
|
||||
|
||||
android {
|
||||
namespace = "com.topjohnwu.shared"
|
||||
defaultConfig {
|
||||
consumerProguardFiles("proguard-rules.pro")
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.topjohnwu.magisk">
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
|
||||
|
||||
|
@ -25,7 +25,7 @@ tasks.withType<KotlinCompile> {
|
||||
|
||||
dependencies {
|
||||
implementation(kotlin("gradle-plugin", "1.6.21"))
|
||||
implementation("com.android.tools.build:gradle:7.1.3")
|
||||
implementation("com.android.tools.build:gradle:7.2.0")
|
||||
implementation("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0-beta01")
|
||||
implementation("io.michaelrocks:paranoid-gradle-plugin:0.3.7")
|
||||
implementation("org.eclipse.jgit:org.eclipse.jgit:6.1.0.202203080745-r")
|
||||
|
@ -27,13 +27,13 @@ private val Project.android: BaseAppModuleExtension
|
||||
|
||||
fun Project.setupCommon() {
|
||||
androidBase {
|
||||
compileSdkVersion(31)
|
||||
buildToolsVersion = "31.0.0"
|
||||
compileSdkVersion(32)
|
||||
buildToolsVersion = "32.0.0"
|
||||
ndkPath = "$sdkDirectory/ndk/magisk"
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 21
|
||||
targetSdk = 31
|
||||
targetSdk = 32
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
@ -5,6 +5,8 @@ plugins {
|
||||
setupCommon()
|
||||
|
||||
android {
|
||||
namespace = "com.topjohnwu.magisk.native"
|
||||
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
path("jni/Android.mk")
|
||||
|
@ -1 +1 @@
|
||||
<manifest package="com.topjohnwu.magisk.binary" />
|
||||
<manifest/>
|
||||
|
@ -9,6 +9,8 @@ paranoid {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.topjohnwu.magisk"
|
||||
|
||||
val canary = !Config.version.contains(".")
|
||||
|
||||
val url = if (canary) null
|
||||
|
@ -1,2 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="com.topjohnwu.magisk" />
|
||||
<manifest/>
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.topjohnwu.magisk">
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
||||
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user