Jakub Sokołowski
ed4d0a1ed9
changes: - Moved Gradle deps setup to `nix/deps/gradle` - Dropped `nix/mobile/android/maven-and-npm-deps/maven` - Used GNU Parallel to optimize `nix/deps/gradle/generate.sh` - Move Maven+Node shell setup from `release-android.nix` to Android shell - Moved AAPT2 patching to `nix/pkgs/aapt2` - Drop `patchPhase` and `gradlew` use from `release-android.nix` - Simplify symlinking `{mobile,desktop}/js_files/*` - Add new `nodejs` shell and merge it with `clojure` and `gradle` - Re-created Gradle deps files with new scripts: - `nix/deps/gradle/proj.list` - `nix/deps/gradle/deps.list` - `nix/deps/gradle/deps.urls` - `nix/deps/gradle/deps.nix` Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
.. | ||
README.md | ||
default.nix | ||
deps.list | ||
deps.nix | ||
deps.urls | ||
generate.sh | ||
get_deps.sh | ||
get_projects.sh | ||
get_urls.sh | ||
proj.list | ||
repos.sh | ||
shell.nix | ||
url2nix.sh |
README.md
Maven dependencies Nix wrapper
Overview
This folder contains the Nix expression (maven-sources.nix
) that downloads all Maven dependencies required for Gradle, as well as the scripts used to generate that file, namely:
generate-nix.sh
: This is the main entry point script, which will use Gradle to determine the dependencies (intomaven-inputs.txt
), andnix/tools/maven/maven-inputs2nix.sh
to generatedefault.nix
from those dependencies.fetch-maven-deps.sh
: This script does the heavy work of determining Gradle dependencies and outputting amaven-inputs.txt
file listing the external URLs.reactnative-android-native-deps.nix
: Contains the Nix attribute set used to download the React Native dependencies used in React Native Gradle scripts.maven-inputs.txt
: A list of Maven dependenciy URLs that can be used bynix/tools/maven/maven-inputs2nix.sh
to generatemaven-sources.nix
.