Home > Software design >  What is the difference between Azure Pipelines task Gradle@3 and Gradle@2?
What is the difference between Azure Pipelines task Gradle@3 and Gradle@2?

Time:02-06

I am using Gradle@2 to build my project in Azure DevOps. Now I have realized there is also Gradle@3. MS documentation and even GitHub README are identical for both tasks.

So is there anything new in @3? Any reason to upgrade?

CodePudding user response:

You can check all Azure Pipelines code here:

https://github.com/microsoft/azure-pipelines-tasks

According to the commit message ("Add GradleV3 task to fix invalid demands issue") there is not different in Gradle task itself, only in the task.json that now the demands are empty:

"demands": [],

In Gradle@2 the demands are:

"demands": [
    "java"
]
  • Related