Skip to content

Commit

Permalink
Bump JGit 6.5 and use depth 1 when cloning repos
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Stram <[email protected]>
  • Loading branch information
ahstram authored Apr 19, 2023
1 parent 4343e33 commit eda0845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nextflow/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies {
api "com.beust:jcommander:1.35"
api("com.esotericsoftware.kryo:kryo:2.24.0") { exclude group: 'com.esotericsoftware.minlog', module: 'minlog' }
api('org.iq80.leveldb:leveldb:0.12')
api('org.eclipse.jgit:org.eclipse.jgit:6.2.0.202206071550-r')
api('org.eclipse.jgit:org.eclipse.jgit:6.5.0.202303070854-r')
api ('javax.activation:activation:1.1.1')
api ('javax.mail:mail:1.4.7')
api ('org.yaml:snakeyaml:2.0')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ class AssetManager {
clone
.setURI(cloneURL)
.setDirectory(localPath)
.setDepth(1)
.setCloneSubmodules(manifest.recurseSubmodules)
.call()

Expand Down Expand Up @@ -674,6 +675,7 @@ class AssetManager {

clone.setURI(uri)
clone.setDirectory(directory)
clone.setDepth(1)
clone.setCloneSubmodules(manifest.recurseSubmodules)
if( provider.hasCredentials() )
clone.setCredentialsProvider( provider.getGitCredentials() )
Expand Down

0 comments on commit eda0845

Please sign in to comment.