tree: b6004db0351000d3d75ed728c25293fdb1a7d0e4 [path history] [tgz]
  1. 1.22.17/
  2. README.md
com/yarnpkg/yarn/README.md

Adding a new Yarn package

If you want to add a new version of yarn, first create a directory with the revision number as the name (without the v prefix), and download from https://github.com/yarnpkg/yarn/releases/ the following:

  • yarn-v[revision].tar.gz
  • yarn-v[revision].tar.gz.asc

Next, rename both files by removing the v character before the revision. e.g. yarn-v1.22.17.tar.gz -> yarn-1.22.17.tar.gz. This is to avoid running into this issue

Finally, update the YarnRootExtension::version field in buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt to the version you downloaded.