Refresh dependencies when building (#271)
This commit is contained in:
parent
b6a8366963
commit
5d65f21170
2
.github/workflows/gradle.yml
vendored
2
.github/workflows/gradle.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
run: chmod +x gradlew
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew cleanBuild remapSpigotJar idea --no-daemon -i --stacktrace
|
||||
./gradlew cleanBuild remapSpigotJar idea --no-daemon -i --stacktrace --refresh-dependencies
|
||||
./gradlew build collect --no-daemon -i --stacktrace
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
|
@ -9,7 +9,7 @@ cache:
|
|||
- ./.gradle
|
||||
build_script:
|
||||
- cmd: |
|
||||
gradlew cleanBuild idea remapSpigotJar --no-daemon -i --stacktrace
|
||||
gradlew cleanBuild idea remapSpigotJar --no-daemon -i --stacktrace --refresh-dependencies
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user