| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| gradle/ | 08-Apr-2025 | - | ||||
| src/ | 08-Apr-2025 | - | 3,171 | 2,334 | ||
| OWNERS | D | 08-Apr-2025 | 56 | 3 | 3 | |
| README.md | D | 08-Apr-2025 | 1.7 KiB | 47 | 32 | |
| build.gradle.kts | D | 08-Apr-2025 | 3 KiB | 86 | 55 | |
| gradle.properties | D | 08-Apr-2025 | 65 | 2 | 2 | |
| gradlew | D | 08-Apr-2025 | 8.4 KiB | 257 | 114 | |
| importMaven.sh | D | 08-Apr-2025 | 570 | 20 | 12 | |
| importMaven.versions.toml | D | 08-Apr-2025 | 986 | 21 | 18 | |
| import_maven_artifacts.py | D | 08-Apr-2025 | 3.5 KiB | 90 | 71 | |
| settings.gradle.kts | D | 08-Apr-2025 | 1.5 KiB | 45 | 27 |
README.md
1Helper script to download prebuilts for offline builds. 2 3It can download maven artifacts or KMP prebuilts. 4 5By default, arguments passed into it the script that do not immediately 6follow an option (e.g. --optionName value) are evaluated to be maven 7artficat coordinates. 8 9# Quickstart 10 11## download single artifact 12`./importMaven.sh androidx.room:room-runtime:2.4.2` 13`./importMaven.sh --artifacts androidx.room:room-runtime:2.4.2` 14 15## download multiple artifacts 16`./importMaven.sh androidx.room:room-runtime:2.4.2 com.squareup.okio:okio:3.0.0` 17 18## download multiple artifacts with explicit argument 19`./importMaven.sh --artifacts androidx.room:room-runtime:2.4.2,com.squareup.okio:okio:3.0.0` 20 21## download konan prebuilts needed for kotlin native 22`./importMaven.sh import-konan-binaries --konan-compiler-version 1.6.1` 23 24## download everything in the dependencies file of AndroidX 25`./importMaven.sh import-toml` 26 27## download an androidx prebuilt (via androidx.dev) 28`./importMaven.sh --androidx-build-id 123 androidx.room:room-runtime:2.5.0-SNAPSHOT androidx.room:room-compiler:2.5.0-SNAPSHOT` 29 30## download metalava 31`./importMaven.sh --metalava-build-id 8660637 --redownload --artifacts com.android.tools.metalava:metalava:1.0.0-alpha06` 32 33## verbose logging 34`./importMaven.sh --verbose androidx.room:room-runtime:2.4.2` 35 36# More Help: 37 38For full list of options, please execute one of the commands with `--help` 39``` 40./importMaven.sh --help 41./importMaven.sh import-konan-prebuilts --help 42./importMaven.sh import-toml --help 43``` 44 45# Next steps: 46Gradle 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` 47