Created
September 11, 2022 16:14
-
-
Save tthtlc/15773f6707d0d0d70d454d07fe333f0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/android/app/build.gradle b/android/app/build.gradle | |
index c714168..54fbf6c 100644 | |
--- a/android/app/build.gradle | |
+++ b/android/app/build.gradle | |
@@ -1,8 +1,7 @@ | |
def localProperties = new Properties() | |
def localPropertiesFile = rootProject.file('local.properties') | |
if (localPropertiesFile.exists()) { | |
- localPropertiesFile.withReader('UTF-8') { reader -> | |
- localProperties.load(reader) | |
+ localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) | |
} | |
} | |
@@ -32,7 +31,7 @@ if (keystorePropertiesFile.exists()) { | |
} | |
android { | |
- compileSdkVersion 30 | |
+ compileSdkVersion 31 | |
sourceSets { | |
main.java.srcDirs += 'src/main/kotlin' | |
@@ -49,10 +48,10 @@ android { | |
signingConfigs { | |
release { | |
- keyAlias keystoreProperties['keyAlias'] | |
- keyPassword keystoreProperties['keyPassword'] | |
- storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null | |
- storePassword keystoreProperties['storePassword'] | |
+ keyAlias = 'my-key-alias' | |
+ keyPassword = 'XXXX' | |
+ storeFile = file('my-release-key.keystore') | |
+ storePassword = 'XXXX' | |
} | |
} | |
buildTypes { | |
diff --git a/android/build.gradle b/android/build.gradle | |
index c505a86..ef59a52 100644 | |
--- a/android/build.gradle | |
+++ b/android/build.gradle | |
@@ -1,12 +1,12 @@ | |
buildscript { | |
- ext.kotlin_version = '1.3.50' | |
+ ext.kotlin_version = '1.7.10' | |
repositories { | |
google() | |
jcenter() | |
} | |
dependencies { | |
- classpath 'com.android.tools.build:gradle:4.1.0' | |
+ classpath 'com.android.tools.build:gradle:7.1.2' | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties | |
index bc6a58a..cc5527d 100644 | |
--- a/android/gradle/wrapper/gradle-wrapper.properties | |
+++ b/android/gradle/wrapper/gradle-wrapper.properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment