Helper script to download prebuilts for offline builds.
It can download maven artifacts or KMP prebuilts.
./importMaven.sh import-artifact --artifacts "androidx.room:room-runtime:2.4.2"
./importMaven.sh import-artifact --artifacts "androidx.room:room-runtime:2.4.2,com.squareup.okio:okio:3.0.0"
./importMaven.sh import-konan-binaries --konan-compiler-version 1.6.1
./importMaven.sh import-toml
./importMaven.sh import-artifact --androidx-build-id 123 --artifacts "androidx.room:room-runtime:2.5.0-SNAPSHOT"
./importMaven.sh import-artifact --metalava-build-id 8660637 --redownload --artifacts "com.android.tools.metalava:metalava:1.0.0-alpha06"
./importMaven.sh import-artifact --verbose --artifacts "androidx.room:room-runtime:2.4.2"
For full list of options, please execute one of the commands with --help
./importMaven.sh --help ./importMaven.sh import-artifact --help ./importMaven.sh import-konan-prebuilts --help ./importMaven.sh import-toml --help