Helper script to download prebuilts for offline builds.
It can download maven artifacts or KMP prebuilts.
By default, arguments passed into it the script that do not immediately follow an option (e.g. --optionName value) are evaluated to be maven artficat coordinates.
./importMaven.sh androidx.room:room-runtime:2.4.2
./importMaven.sh --artifacts androidx.room:room-runtime:2.4.2
./importMaven.sh androidx.room:room-runtime:2.4.2 com.squareup.okio:okio:3.0.0
./importMaven.sh --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 --androidx-build-id 123 androidx.room:room-runtime:2.5.0-SNAPSHOT androidx.room:room-compiler:2.5.0-SNAPSHOT
./importMaven.sh --metalava-build-id 8660637 --redownload --artifacts com.android.tools.metalava:metalava:1.0.0-alpha06
./importMaven.sh --verbose 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-konan-prebuilts --help ./importMaven.sh import-toml --help
Gradle may not trust artifacts that are not signed with a trusted key. To ask Gradle to trust these artifacts, run development/update-verification-metadata.sh