Skip to content

Commit

Permalink
[TOREE-530] Ivy downloader with Spark 3.2.x (#195)
Browse files Browse the repository at this point in the history
- Remove use of deprecated API
- Uses OpenJDK (temurin) istead of zulu
  • Loading branch information
gmcoringa committed Mar 15, 2022
1 parent a7a48c6 commit 70cc220
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Checkout
uses: actions/setup-java@v2
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Add SBT launcher
run: |
Expand Down
Expand Up @@ -189,8 +189,9 @@ class IvyDependencyDownloader(
val moduleDescriptor = report.getModuleDescriptor
ivy.retrieve(
moduleDescriptor.getModuleRevisionId,
baseDirectory + "/[artifact](-[classifier]).[ext]",
new RetrieveOptions().setConfs(Seq("default").toArray)
new RetrieveOptions()
.setConfs(Seq("default").toArray)
.setDestArtifactPattern(baseDirectory + "/[artifact](-[classifier]).[ext]")
)

artifactURLs.map(_.toURI)
Expand Down

0 comments on commit 70cc220

Please sign in to comment.