Updated to version 35 and key isn't needed
This commit is contained in:
@@ -33,11 +33,15 @@ if (flutterVersionName == null) {
|
||||
|
||||
def keystoreProperties = new Properties()
|
||||
def keystorePropertiesFile = rootProject.file("key.properties")
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
def debugKeystoreProperties = new Properties()
|
||||
def debugKeystorePropertiesFile = rootProject.file("debugkey.properties")
|
||||
debugKeystoreProperties.load(new FileInputStream(debugKeystorePropertiesFile))
|
||||
if (debugKeystorePropertiesFile.exists()) {
|
||||
debugKeystoreProperties.load(new FileInputStream(debugKeystorePropertiesFile))
|
||||
}
|
||||
|
||||
// magical code that fixes builds
|
||||
subprojects {
|
||||
@@ -58,7 +62,7 @@ android {
|
||||
ndkVersion "27.2.12479018"
|
||||
|
||||
// compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
compileSdkVersion 34
|
||||
compileSdkVersion 35
|
||||
|
||||
sourceSets {
|
||||
main.java.srcDirs += 'src/main/kotlin'
|
||||
@@ -100,10 +104,11 @@ android {
|
||||
|
||||
signingConfigs {
|
||||
debug {
|
||||
// Use the default Android debug keystore to avoid alias mismatches
|
||||
keyAlias "androiddebugkey"
|
||||
keyPassword debugKeystoreProperties['keyPassword']
|
||||
storeFile file(debugKeystoreProperties['storeFile'])
|
||||
storePassword debugKeystoreProperties['storePassword']
|
||||
storeFile file(System.properties['user.home'] + "/.android/debug.keystore")
|
||||
storePassword "android"
|
||||
keyPassword "android"
|
||||
}
|
||||
|
||||
release {
|
||||
|
||||
@@ -47,8 +47,8 @@ subprojects {
|
||||
afterEvaluate {project ->
|
||||
if (project.plugins.hasPlugin('android') || project.plugins.hasPlugin('android-library')) {
|
||||
android {
|
||||
compileSdkVersion 34
|
||||
buildToolsVersion '31.0.0'
|
||||
compileSdkVersion 35
|
||||
buildToolsVersion '35.0.0'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user