added gradle caching because willie says that worked for him

This commit is contained in:
Ellpeck 2020-02-07 02:59:27 +01:00
parent 2e48c94d6c
commit f523d85ac0

View file

@ -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: ''