mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-13 11:42:17 -04:00
more log work
This commit is contained in:
parent
9c1d780d93
commit
39b0262d0e
35 changed files with 906 additions and 606 deletions
|
@ -14,13 +14,13 @@ sed -i '' 's/MACOSX_DEPLOYMENT_TARGET = [^;]*/MACOSX_DEPLOYMENT_TARGET = 10.14.6
|
|||
sed -i '' "s/platform :osx, '[^']*'/platform :osx, '10.14.6'/g" $APPDIR/macos/Podfile
|
||||
|
||||
# Android: Set NDK version
|
||||
if [[ "$TMPDIR" != "" ]]; then
|
||||
if [[ "$TMPDIR" != "" ]]; then
|
||||
ANDTMP=$TMPDIR/andtmp_$(date +%s)
|
||||
else
|
||||
else
|
||||
ANDTMP=/tmp/andtmp_$(date +%s)
|
||||
fi
|
||||
cat <<EOF > $ANDTMP
|
||||
ndkVersion '26.3.11579264'
|
||||
ndkVersion '27.0.12077973'
|
||||
EOF
|
||||
sed -i '' -e "/android {/r $ANDTMP" $APPDIR/android/app/build.gradle
|
||||
rm -- $ANDTMP
|
||||
|
@ -29,7 +29,7 @@ rm -- $ANDTMP
|
|||
sed -i '' 's/minSdkVersion .*/minSdkVersion Math.max(flutter.minSdkVersion, 24)/g' $APPDIR/android/app/build.gradle
|
||||
|
||||
# Android: Set gradle plugin version
|
||||
sed -i '' "s/classpath \'com.android.tools.build:gradle:[^\']*\'/classpath 'com.android.tools.build:gradle:7.2.0'/g" $APPDIR/android/build.gradle
|
||||
sed -i '' "s/classpath \'com.android.tools.build:gradle:[^\']*\'/classpath 'com.android.tools.build:gradle:8.8.0'/g" $APPDIR/android/build.gradle
|
||||
|
||||
# Android: Set gradle version
|
||||
sed -i '' 's/distributionUrl=.*/distributionUrl=https:\/\/services.gradle.org\/distributions\/gradle-7.6.3-all.zip/g' $APPDIR/android/gradle/wrapper/gradle-wrapper.properties
|
||||
sed -i '' 's/distributionUrl=.*/distributionUrl=https:\/\/services.gradle.org\/distributions\/gradle-8.10.2-all.zip/g' $APPDIR/android/gradle/wrapper/gradle-wrapper.properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue