Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed Mar 2, 2024
1 parent 3395f5c commit f379d3a
Show file tree
Hide file tree
Showing 42 changed files with 481 additions and 249 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
.externalNativeBuild
.cxx
local.properties
app/release
10 changes: 10 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 25 additions & 8 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,27 +1,35 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("dev.rikka.tools.refine")
}

android {
namespace = "com.qhy040404.fxxkmiuiad"
compileSdk = 33
compileSdk = 34

defaultConfig {
applicationId = "com.qhy040404.fxxkmiuiad"
minSdk = 29
targetSdk = 33
targetSdk = 34
versionCode = 3
versionName = "1.1.1"
}

buildFeatures {
buildConfig = true
viewBinding = true
}

buildTypes {
release {
isMinifyEnabled = true
isShrinkResources = true
isCrunchPngs = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro")
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
packagingOptions.resources.excludes += setOf(
"DebugProbesKt.bin",
"META-INF/*.version"
Expand All @@ -38,9 +46,18 @@ android {
}
}

configurations.all {
exclude("androidx.appcompat", "appcompat")
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7")
}

dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.8.0")
implementation("dev.rikka.shizuku:api:13.1.0")
implementation("dev.rikka.shizuku:provider:13.1.0")
compileOnly(project(":hidden-api"))

implementation("androidx.annotation:annotation:1.7.1")
implementation("com.google.android.material:material:1.11.0")
implementation("dev.rikka.rikkax.appcompat:appcompat:1.6.1")
implementation("dev.rikka.shizuku:api:13.1.5")
implementation("dev.rikka.shizuku:provider:13.1.5")
implementation("dev.rikka.tools.refine:runtime:4.4.0")
}
14 changes: 7 additions & 7 deletions app/src/main/java/com/qhy040404/fxxkmiuiad/Constants.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.qhy040404.fxxkmiuiad

object Constants {
const val shizuku = "moe.shizuku.privileged.api"
const val hybrid = "com.miui.hybrid"
const val ad = "com.miui.systemAdSolution"
const val SHIZUKU = "moe.shizuku.privileged.api"
const val SHIZUKU_RELEASE = "https://github.com/RikkaApps/Shizuku/releases/"

const val coolapk = "com.coolapk.market"

const val shizuku_coolapk = "coolmarket://apk/moe.shizuku.privileged.api"
const val shizuku_coolapk_url = "https://www.coolapk.com/apk/moe.shizuku.privileged.api"
const val MIUI_ROM = "com.miui.rom"
val FUCKLIST = listOf(
"com.miui.hybrid",
"com.miui.systemAdSolution"
)
}
Loading

0 comments on commit f379d3a

Please sign in to comment.