version: "{branch}-{build}"

build:
  verbosity: detailed

build_script:
  - gradlew.bat assemble --info --no-daemon

test_script:
  # spotlessJavaCheck fails on AppVeyor, so just run tests (see #15)
  - gradlew.bat test --info --no-daemon

environment:
  matrix:
    - JAVA_HOME: C:\Program Files\Java\jdk1.8.0

matrix:
  fast_finish: true

cache:
  - '%USERPROFILE%\.gradle\caches -> build.gradle'
  - '%USERPROFILE%\.gradle\wrapper -> gradle\wrapper\gradle-wrapper.properties'

version: "{branch}-{build}"

build:
  verbosity: detailed

build_script:
  - gradlew.bat assemble --info --no-daemon

test_script:
  # spotlessJavaCheck fails on AppVeyor, so just run tests (see #15)
  - gradlew.bat test --info --no-daemon

environment:
  matrix:
    - JAVA_HOME: C:\Program Files\Java\jdk1.8.0

matrix:
  fast_finish: true

cache:
  - '%USERPROFILE%\.gradle\wrapper -> gradle\wrapper\gradle-wrapper.properties'

Remove `build.gradle` from AppVeyor build cache
Remove `build.gradle` from AppVeyor build cache

The AppVeyor build fails - apparently because it tries to use a build
configuration `build.gradle`, but that was removed in commit 2649599.
The log contains these lines, though:

> Restoring build cache
> Cache 'C:\Users\appveyor\.gradle\caches' - Restored

Changing the AppVeyor cache configuration should fix that.
