update AGP
This commit is contained in:
parent
4cf450707a
commit
bb8a83d39e
|
|
@ -16,6 +16,10 @@ LSPatch provides a way to insert dex and so into the target APK by repackaging.
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
|
```
|
||||||
|
Android Studio Arctic Fox | 2020.3.1 Beta 3
|
||||||
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
gradlew build[Debug|Release]
|
gradlew build[Debug|Release]
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.storm.wind.tester">
|
package="org.lsposed.lspatch">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package org.lsposed.lspatch.loader.util;
|
package org.lsposed.lspatch.loader.util;
|
||||||
|
|
||||||
|
|
||||||
import com.storm.wind.tester.BuildConfig;
|
import org.lsposed.lspd.BuildConfig;
|
||||||
|
|
||||||
public class XLog {
|
public class XLog {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import android.os.Bundle;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.storm.wind.tester.R;
|
import org.lsposed.lspatch.R;
|
||||||
|
|
||||||
import de.robv.android.xposed.XC_MethodHook;
|
import de.robv.android.xposed.XC_MethodHook;
|
||||||
import de.robv.android.xposed.XposedHelpers;
|
import de.robv.android.xposed.XposedHelpers;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ android {
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
|
|
||||||
consumerProguardFiles "consumer-rules.pro"
|
|
||||||
multiDexEnabled false
|
multiDexEnabled false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,14 @@ buildscript {
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.0.0-alpha14'
|
classpath 'com.android.tools.build:gradle:7.0.0-beta03'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// sync from https://github.com/LSPosed/LSPosed/blob/master/build.gradle.kts
|
// sync from https://github.com/LSPosed/LSPosed/blob/master/build.gradle.kts
|
||||||
ext {
|
ext {
|
||||||
androidCompileSdkVersion = 30
|
androidCompileSdkVersion = "android-S"
|
||||||
androidCompileNdkVersion = "22.1.7171670"
|
androidCompileNdkVersion = "22.1.7171670"
|
||||||
androidBuildToolsVersion = "30.0.3"
|
androidBuildToolsVersion = "30.0.3"
|
||||||
androidMinSdkVersion = 27
|
androidMinSdkVersion = 27
|
||||||
|
|
@ -26,7 +26,6 @@ ext {
|
||||||
defaultManagerPackageName = "org.lsposed.lspatch"
|
defaultManagerPackageName = "org.lsposed.lspatch"
|
||||||
androidSourceCompatibility = JavaVersion.VERSION_11
|
androidSourceCompatibility = JavaVersion.VERSION_11
|
||||||
androidTargetCompatibility = JavaVersion.VERSION_11
|
androidTargetCompatibility = JavaVersion.VERSION_11
|
||||||
zipPathMagiskReleasePath = project(":lspcore").projectDir.path + "/build/tmp/release/magisk/"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue