2020-05-16 06:29:39 +00:00
|
|
|
version: '{branch}-{build}'
|
2021-07-28 07:43:49 +00:00
|
|
|
image:
|
2021-12-03 05:27:06 +00:00
|
|
|
- 'Visual Studio 2022'
|
2020-08-17 12:21:45 +00:00
|
|
|
branches:
|
|
|
|
only:
|
2022-08-01 09:29:13 +00:00
|
|
|
- 1.19
|
2022-12-10 07:52:11 +00:00
|
|
|
- GreatHorn
|
2020-05-16 06:29:39 +00:00
|
|
|
environment:
|
2021-12-07 04:35:05 +00:00
|
|
|
JAVA_HOME: C:\Program Files\Java\jdk17
|
2020-05-16 06:29:39 +00:00
|
|
|
cache:
|
|
|
|
- C:/Users/appveyor/.gradle
|
|
|
|
- ./.gradle
|
|
|
|
build_script:
|
2020-05-17 07:59:11 +00:00
|
|
|
- cmd: |
|
2021-05-22 12:39:00 +00:00
|
|
|
gradlew cleanBuild idea remapSpigotJar --no-daemon -i --stacktrace --refresh-dependencies
|
2020-05-30 10:02:34 +00:00
|
|
|
gradlew build --no-daemon -i --stacktrace
|
|
|
|
rem Due to a MixinGradle bug, we need to build it twice
|
|
|
|
gradlew build collect --no-daemon -i --stacktrace
|
2020-05-16 06:29:39 +00:00
|
|
|
test: off
|
|
|
|
artifacts:
|
2020-05-30 10:02:34 +00:00
|
|
|
- path: ./build/libs/*.jar
|
2020-05-16 06:29:39 +00:00
|
|
|
name: .
|