diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index bc4df09..f3a7e95 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -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") diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 47ce16d..9b67eaa 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -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() diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts index fa63fe4..0a23a2c 100644 --- a/android/settings.gradle.kts +++ b/android/settings.gradle.kts @@ -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") \ No newline at end of file