Skip to content

7.0.0

Compare
Choose a tag to compare
@v1nc3n4 v1nc3n4 released this 08 Jul 16:19
· 39 commits to main since this release

Support of package managers through corepack

Requirements

Features

  • Initial support of PNPM (#183)
  • Release of JDK 17 built.

Breaking changes

  • Tasks NodeInstallTask and InstallDependenciesTask were renamed to match naming convention of other tasks.
  • Tasks installGlobalYarn, enableYarnBerry, installYarn were removed since installation is now managed by corepack.
  • Task type RunNpx was removed after command npx became deprecated. Command npm exec should be used instead.

Upgrading from 6.0.0+

  • Define property packageManager in your package.json file (e.g. npm@9.6.7, pnpm@8.6.0, yarn@3.6.0, etc.).
  • Add .frontend-gradle-plugin/ directory to .gitignore file(s) (see cacheDirectory property).
  • Rename task classes NodeInstallTask and InstallDependenciesTask into InstallNodeTask and InstallFrontendTask in build scripts.
  • Remove yarnEnabled and yarnVersion properties from build scripts, if any (already known with property packageManager).
  • Update any custom task based on type RunNpx: use type RunNpm instead and prepend exec -- to the script property value. See official documentation here for detailed usage and examples.
  • JDK 8 is not supported anymore. Projects must upgrade to JDK 11+.