fix: don't check license validity when building

This commit is contained in:
Ryan Dowling 2022-01-05 17:25:42 +11:00
parent 7d4efd63e1
commit ef092223f4
No known key found for this signature in database
GPG key ID: 5539FCDB88950EFD
3 changed files with 12 additions and 0 deletions

View file

@ -37,6 +37,9 @@ jobs:
continue-on-error: true
with:
run: ./gradlew test --tests ui.*
- name: Check license headers
run: ./gradlew checkLicenses
build:
runs-on: ubuntu-20.04
needs: test

View file

@ -13,3 +13,4 @@ This changelog only contains the changes that are unreleased. For changes for in
- Issue with LICENSEHEADER always using the current year causing issues building in a new year
### Misc
- Don't check license validity when building

View file

@ -247,6 +247,14 @@ clean.doFirst {
delete "${projectDir}/dist"
}
project.afterEvaluate {
tasks.check {
dependsOn -= tasks.find {
it.name.equals("checkLicenses")
}
}
}
build.finalizedBy copyArtifacts
shadowJar.dependsOn jar
build.dependsOn createExe, createMacApp