Repo created
This commit is contained in:
parent
8ed267efd9
commit
bca80f6a46
22 changed files with 1516 additions and 2 deletions
74
app/build.gradle.kts
Executable file
74
app/build.gradle.kts
Executable file
|
|
@ -0,0 +1,74 @@
|
|||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import com.android.build.gradle.tasks.PackageAndroidArtifact
|
||||
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "inc.whew.android.fakegapps"
|
||||
compileSdk = 35
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "inc.whew.android.fakegapps"
|
||||
minSdk = 15
|
||||
targetSdk = 35
|
||||
versionCode = 13
|
||||
versionName = "6.6"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
if (project.hasProperty("RELEASE_KEY_ALIAS")) {
|
||||
storeFile = file(project.properties["RELEASE_STORE_FILE"].toString())
|
||||
storePassword = project.properties["RELEASE_STORE_PASSWORD"].toString()
|
||||
keyAlias = project.properties["RELEASE_KEY_ALIAS"].toString()
|
||||
keyPassword = project.properties["RELEASE_KEY_PASSWORD"].toString()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro",
|
||||
)
|
||||
if (project.hasProperty("RELEASE_KEY_ALIAS")) {
|
||||
signingConfig = signingConfigs["release"]
|
||||
}
|
||||
vcsInfo {
|
||||
include = false
|
||||
}
|
||||
}
|
||||
debug {
|
||||
vcsInfo {
|
||||
include = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
packaging {
|
||||
dex {
|
||||
useLegacyPackaging = false
|
||||
}
|
||||
}
|
||||
|
||||
// https://gitlab.com/IzzyOnDroid/repo/-/issues/491
|
||||
dependenciesInfo {
|
||||
includeInApk = false
|
||||
includeInBundle = false
|
||||
}
|
||||
|
||||
// https://stackoverflow.com/a/77745844
|
||||
tasks.withType<PackageAndroidArtifact> {
|
||||
doFirst { appMetadata.asFile.orNull?.writeText("") }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("de.robv.android.xposed:api:82")
|
||||
compileOnly("de.robv.android.xposed:api:82:sources")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue