status-react/nix/deps/gradle
Jakub Sokołowski ed4d0a1ed9
nix: refactor updating Gradle dependencies
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>
2020-05-14 09:46:30 +02:00
..
README.md nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
default.nix nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
deps.list nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
deps.nix nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
deps.urls nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
generate.sh nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
get_deps.sh nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
get_projects.sh nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
get_urls.sh nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
proj.list nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
repos.sh nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
shell.nix nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
url2nix.sh nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00

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 (into maven-inputs.txt), and nix/tools/maven/maven-inputs2nix.sh to generate default.nix from those dependencies.
  • fetch-maven-deps.sh: This script does the heavy work of determining Gradle dependencies and outputting a maven-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 by nix/tools/maven/maven-inputs2nix.sh to generate maven-sources.nix.