Skip to content

Commit

Permalink
try to use AzulResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
hankem committed May 17, 2024
1 parent 156be25 commit e7d4262
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,9 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
test_java_version:
- 8
- 11
exclude:
- os: macos-latest
test_java_version: 8
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down
10 changes: 10 additions & 0 deletions buildSrc/src/main/groovy/archunit.java-version-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ afterEvaluate {
}
}

toolchainManagement {
jvm {
javaRepositories {
repository('azul') {
resolverClass = AzulResolver
}
}
}
}

sourceCompatibility = versionSpec.desiredSourceCompatibility
targetCompatibility = versionSpec.desiredSourceCompatibility

Expand Down

0 comments on commit e7d4262

Please sign in to comment.