diff --git a/appveyor.yml b/appveyor.yml index 713c47d..3992be1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,17 +7,21 @@ build: verbosity: detailed build_script: - - gradlew.bat assemble --info -PbuildAll + - gradlew.bat tasks test_script: - cmd: >- SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0 - gradlew.bat check --info -PbuildAll + gradlew.bat clean + + gradlew.bat check --info SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0 - gradlew.bat check --info -PbuildAll + gradlew.bat clean + + gradlew.bat check --info cache: - C:\Users\appveyor\.gradle diff --git a/build.gradle b/build.gradle index 213e4a5..6e61d3c 100644 --- a/build.gradle +++ b/build.gradle @@ -55,6 +55,7 @@ task nativeTestFilesJar(type: Jar) { from(binary.sharedLibraryFile) { into NativeUtils.getPlatformPath(binary) } + dependsOn binary.buildTask } } }