Publish artifacts from background-fetch to mavenLocal

This commit is contained in:
Vishnu Mohandas 2021-05-21 20:49:35 +05:30
parent d8e15c795d
commit 19aef22a3c
3 changed files with 4 additions and 3 deletions
android
build-apk.sh
thirdparty/transistor-background-fetch/android/tsbackgroundfetch

View file

@ -17,6 +17,7 @@ allprojects {
repositories {
google()
jcenter()
mavenLocal()
}
}

View file

@ -1,10 +1,7 @@
cd thirdparty/transistor-background-fetch/android
gradle :tsbackgroundfetch:publishRelease
cd ../../../
mkdir android/app/libs
cp -rf thirdparty/transistor-background-fetch/android/tsbackgroundfetch/build/repo/* android/app/libs
flutter config --no-analytics
flutter packages pub get
flutter packages pub run flutter_launcher_icons:main
flutter build apk
rm -rf android/app/libs

View file

@ -28,6 +28,9 @@ android {
}
}
repositories {
mavenLocal()
}
}
}