Skip to content

Commit

Permalink
[skip post] 丢掉一些东西
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsummer233 committed May 12, 2024
1 parent 78c59a1 commit 1667852
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 38 deletions.
12 changes: 4 additions & 8 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import java.util.*
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.kotlinAndroid)
id("org.lsposed.lsparanoid") version "0.6.0"
id("org.lsposed.lsparanoid")
// id("org.lsposed.lsplugin.resopt")
}

lsparanoid {
Expand Down Expand Up @@ -83,15 +84,10 @@ android {

val buildTime = SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Date())
buildConfigField("String", "BUILD_TIME", "\"$buildTime\"")
}

splits {
abi {
isEnable = true
reset()
ndk {
//noinspection ChromeOsAbiSupport
include("arm64-v8a")
isUniversalApk = false
abiFilters += "arm64-v8a"
}
}

Expand Down
8 changes: 2 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ plugins {
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.androidLibrary) apply false
alias(libs.plugins.kotlinAndroid) apply false
id("org.lsposed.lsparanoid") version "0.6.0" apply false
// id("org.lsposed.lsplugin.resopt") version "1.6" apply false
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}

apply(from = "config.gradle.kts")
14 changes: 0 additions & 14 deletions config.gradle.kts

This file was deleted.

3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ android.useAndroidX=true
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.suppressUnsupportedCompileSdk=34
android.enableAppCompileTimeRClass=true
android.enableBuildConfigAsBytecode=true
6 changes: 3 additions & 3 deletions hidden-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ plugins {
}

android {
compileSdk = 34
namespace = "com.android.internal"
compileSdk = 34
buildTypes {
getByName("release") {
release {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
Expand All @@ -19,7 +19,7 @@ android {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
getByName("debug") {
debug {
isMinifyEnabled = false
setProguardFiles(listOf(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"))
}
Expand Down
9 changes: 3 additions & 6 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
@file:Suppress("UnstableApiUsage")

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
plugins {
id("org.lsposed.lsparanoid") version "0.6.0"
}
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url = uri("https://api.xposed.info")
}
maven("https://api.xposed.info")
maven("https://jitpack.io")

}
Expand Down

0 comments on commit 1667852

Please sign in to comment.