Skip to content

Commit

Permalink
Merge pull request #182 from osociety/upload-to-store
Browse files Browse the repository at this point in the history
Upgraded targetSdkVersion and compiled with flutter
  • Loading branch information
git-elliot authored Aug 20, 2024
2 parents 7841e66 + d86ac96 commit a31516b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
3 changes: 2 additions & 1 deletion android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
report.xml
report.xml
/app/property**
4 changes: 3 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
defaultConfig {
applicationId "org.fsociety.vernet"
minSdkVersion 24
targetSdkVersion 34
targetSdkVersion 35
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand All @@ -55,6 +55,7 @@ android {
release {
signingConfig signingConfigs.release
minifyEnabled true
crunchPngs false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Expand All @@ -66,6 +67,7 @@ android {
dimension "deploy"
signingConfig signingConfigs.release
}

fdroid {
dimension "deploy"
signingConfig signingConfigs.release
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
// Fix for Gradle Error.
// Namespace not specified. Specify a namespace in the module's build file
Expand Down
25 changes: 20 additions & 5 deletions android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
org.gradle.jvmargs=-Xmx1536M
## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
#Tue Aug 20 07:29:49 IST 2024
android.enableJetifier=false
android.nonFinalResIds=false
android.nonTransitiveRClass=true
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g

#org.gradle.configuration-cache=true
#org.gradle.configuration-cache.problems=warn

0 comments on commit a31516b

Please sign in to comment.