Skip to content

Commit

Permalink
bump gradle, change build script filename
Browse files Browse the repository at this point in the history
  • Loading branch information
NO-ob committed Feb 6, 2024
1 parent 63853c5 commit d73aae6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https://services.gradle.org/distributions/gradle-7.5-all.zip
12 changes: 6 additions & 6 deletions build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,25 @@ get_version_and_build

if [ "$build_mode" = "appbundle" ]; then
src_aab="build/app/outputs/bundle/release/app-release.aab"
dest_aab="build/app/outputs/bundle/release/ls_${version}_${build}_appbundle_${suffix}.aab"
dest_aab="build/app/outputs/bundle/release/LoliSnatcher_${version}_${build}_appbundle_${suffix}.aab"
cp "$src_aab" "$dest_aab"

echo
echo "=> Built AAB: ls_${version}_${build}_appbundle_${suffix}.aab"
echo "=> Built AAB: LoliSnatcher_${version}_${build}_appbundle_${suffix}.aab"
else
srcv8_apk="build/app/outputs/flutter-apk/app-arm64-v8a-release.apk"
destv8_apk="build/app/outputs/flutter-apk/ls_${version}_${build}_arm64-v8a_${suffix}.apk"
destv8_apk="build/app/outputs/flutter-apk/LoliSnatcher_${version}_${build}_arm64-v8a_${suffix}.apk"
cp "$srcv8_apk" "$destv8_apk"

srcv7_apk="build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk"
destv7_apk="build/app/outputs/flutter-apk/ls_${version}_${build}_armeabi-v7a_${suffix}.apk"
destv7_apk="build/app/outputs/flutter-apk/LoliSnatcher_${version}_${build}_armeabi-v7a_${suffix}.apk"
cp "$srcv7_apk" "$destv7_apk"

src64_apk="build/app/outputs/flutter-apk/app-x86_64-release.apk"
dest64_apk="build/app/outputs/flutter-apk/ls_${version}_${build}_x86_64_${suffix}.apk"
dest64_apk="build/app/outputs/flutter-apk/LoliSnatcher_${version}_${build}_x86_64_${suffix}.apk"
cp "$src64_apk" "$dest64_apk"

echo
echo "=> Built APKs: ls_${version}_${build}_[arch]_${suffix}.apk"
echo "=> Built APKs: LoliSnatcher_${version}_${build}_[arch]_${suffix}.apk"
fi

0 comments on commit d73aae6

Please sign in to comment.