mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
style: clean up code
This commit is contained in:
@@ -37,7 +37,8 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
maybeCreate("release").apply {
|
||||
val keystoreFile = File("keystore.jks").also { if (!it.exists()) return@apply }
|
||||
val keystoreFile = File("keystore.jks")
|
||||
if (!keystoreFile.exists()) return@apply
|
||||
val keyAliasEnv = System.getenv("SIGNING_KEY_ALIAS") ?: return@apply
|
||||
val keystorePasswordEnv = System.getenv("SIGNING_STORE_PASSWORD") ?: return@apply
|
||||
val keyPasswordEnv = System.getenv("SIGNING_STORE_PASSWORD") ?: return@apply
|
||||
@@ -65,7 +66,6 @@ flutter {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.10")
|
||||
implementation("com.github.DylanCaiCoding:MMKV-KTX:1.2.16")
|
||||
implementation("androidx.documentfile:documentfile:1.0.1")
|
||||
implementation("org.greenrobot:eventbus:3.3.1")
|
||||
|
||||
@@ -1,15 +1,3 @@
|
||||
//buildscript {
|
||||
// repositories {
|
||||
// google()
|
||||
// mavenCentral()
|
||||
// }
|
||||
//
|
||||
// dependencies {
|
||||
// classpath("com.android.tools.build:gradle:7.3.0")
|
||||
// classpath ("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
|
||||
// }
|
||||
//}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
|
||||
@@ -20,16 +20,4 @@ plugins {
|
||||
id ("org.jetbrains.kotlin.android") version "1.7.10" apply false
|
||||
}
|
||||
|
||||
//val localPropertiesFile = File(rootProject.projectDir, "local.properties")
|
||||
//val properties = Properties()
|
||||
//
|
||||
//assert(localPropertiesFile.exists())
|
||||
//localPropertiesFile.reader(Charset.forName("UTF-8")).use { reader -> properties.load(reader) }
|
||||
//
|
||||
//val flutterSdkPath = properties.getProperty("flutter.sdk")
|
||||
//assert(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
|
||||
//apply {
|
||||
// from("$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle")
|
||||
//}
|
||||
|
||||
include(":app")
|
||||
Reference in New Issue
Block a user