Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Azure Pipelines task Gradle@3 and Gradle@2?

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?

like image 479
Mamut Avatar asked Oct 16 '25 14:10

Mamut


1 Answers

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"
]
like image 89
Shayki Abramczyk Avatar answered Oct 19 '25 09:10

Shayki Abramczyk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!