Commit 24603b3c authored by topjohnwu's avatar topjohnwu

Update Android Studio

parent 4eb92408
......@@ -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")
}
......
<?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")
......
<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
......
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.topjohnwu.magisk" />
<manifest/>
<?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" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment