@nx/gradle:migrations | Nx

Migration References

Here is a list of all migrations available for this package.

  • 21.0.x

  • change-ciTargetName-to-ciTestTargetName

    Change @nx/gradle option from ciTargetName to ciTestTargetName

    Version: 21.0.0-beta.13

    Change @nx/gradle plugin option ciTargetName to ciTestTargetName

    Change @nx/gradle plugin option ciTargetName to ciTestTargetName in nx.json

    Sample Code Changes

    nx.json
    1{ 2 "plugins": [ 3 "plugin": "@nx/gradle", 4 "options": { 5 "ciTargetName": "ci" 6 } 7 ] 8} 9

    change-plugin-to-v1

    Change @nx/gradle plugin to version 1

    Version: 21.0.0-beta.5

    Change @nx/gradle plugin to @nx/gradle/plugin-v1

    Change @nx/gradle plugin to version 1 in nx.json

    Sample Code Changes

    nx.json
    1{ 2 "plugins": ["@nx/gradle"] 3} 4
  • 20.2.x

  • add-include-subprojects-tasks

    Add includeSubprojectsTasks to build.gradle file

    Version: 20.2.0-beta.4

    Add includeSubprojectsTasks to @nx/gradle Plugin Options

    Add includeSubprojectsTasks to @nx/gradle plugin options in nx.json file

    Sample Code Changes

    nx.json
    1{ 2 "plugins": ["@nx/gradle"] 3} 4
  • 19.4.x

  • change-regex-production-test

    This function changes !{projectRoot}/test/**/* in nx.json for production to !{projectRoot}/src/test/**/*

    Version: 19.4.1-beta.0

    add-project-report-all

    Add task projectReportAll to build.gradle file

    Version: 19.4.0-beta.1