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"
]