status-react/nix/deps/gradle
Jakub Sokołowski 73a8992db7
nix: refactor loading of node.js modules
Changes:
- Drop `nix/mobile/android/maven-and-npm-deps/default.nix`
- Replace it with much simpler `nix/tools/patchNodeModules`
- Move Gradle patching tool to `nix/pkgs/patch-maven-srcs`
- Simplify it by using `gradle.deps` and patched node modules separately
- Change `TARGET` for `release-android` to `default`
- Move `mobile/reset-node_modules.sh` to `scripts/node_modules.sh`
- Move `nix/mobile/android/targets/release-android.nix` to `nix/mobile/android/release.nix`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 16:19:27 +02:00
..
README.md nix: refactor updating Gradle dependencies 2020-05-14 09:46:30 +02:00
default.nix nix: refactor loading of node.js modules 2020-05-15 16:19:27 +02:00
deps.json nix: data in nix/deps/gradle should be JSON 2020-05-14 17:24:59 +02:00
deps.list Remove source-map android debug 2020-05-14 15:43:06 +03:00
deps.urls nix: data in nix/deps/gradle should be JSON 2020-05-14 17:24:59 +02:00
generate.sh nix: data in nix/deps/gradle should be JSON 2020-05-14 17:24:59 +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
url2json.sh nix: data in nix/deps/gradle should be JSON 2020-05-14 17:24:59 +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.