From f523d85ac095cf12cddd4e9097b462a93a9af49b Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 02:59:27 +0100 Subject: [PATCH] added gradle caching because willie says that worked for him --- azure-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a4055b0a..b93ac285 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,7 +9,15 @@ trigger: pool: vmImage: 'ubuntu-latest' +variables: + GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle + steps: +- task: Cache@2 + inputs: + key: 'gradle | "$(Agent.OS)"' + path: '$(GRADLE_USER_HOME)' + restoreKeys: 'gradle' - task: Gradle@2 inputs: workingDirectory: ''