Skip to content

Commit a1a0dc3

Browse files
committed
Update Gradle, jgit, commons-io, junit
1 parent eb0c066 commit a1a0dc3

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The JGit framework is rich and diverse, it has two layers, a low-level _api_ and
1010

1111
This project tries to provide a collection of ready-to-run snippets which provide a quick start for building functionality using JGit.
1212

13-
Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](https://download.eclipse.org/jgit/site/7.2.1.202505142326-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively.
13+
Please make sure to take a look at the nicely written [introduction](http://www.codeaffine.com/2015/12/15/getting-started-with-jgit/) and also use the existing [JavaDoc](https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/) and the [User Guide](http://wiki.eclipse.org/JGit/User_Guide) as well, as they are well done and provide detailed information and a general overview of JGit respectively.
1414

1515
*Note: Please use sites such as http://stackoverflow.com for general questions about JGit usage, not issues in this project. Issues should be used for problems with snippets and suggestions of missing snippets. Snippets from good answers on stackoverflow can then be included here, naturally.*
1616

@@ -140,12 +140,12 @@ Another simple way to start the sample-server is to run `./gradlew run` in the h
140140

141141
* Iterate all commits of a repository: https://gerrit.googlesource.com/plugins/branch-network/+log/refs/heads/master/src/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/JGitFacade.java
142142
* Take some of the unit tests as example: https://github.com/eclipse/jgit/tree/master/org.eclipse.jgit.test/tst/org/eclipse/jgit/api
143-
* SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/7.2.1.202505142326-r/apidocs/org/eclipse/jgit/submodule/package-frame.html
143+
* SubModules: http://stackoverflow.com/questions/13426798/jgit-read-gitmodules http://www.codeaffine.com/2014/04/16/how-to-manage-git-submodules-with-jgit/ https://stackoverflow.com/questions/26090139/jgit-reading-commits-from-a-submodule https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/org/eclipse/jgit/submodule/package-frame.html
144144
* Diffing: http://stackoverflow.com/questions/12987364/how-to-diff-with-two-files-by-jgit-without-creating-repo
145145
* Amend a previous commit: http://stackoverflow.com/questions/4772142/jgit-unstaging-files-removing-files-from-the-index-and-ammending-a-commit
146146
* Remove a file from the index: http://stackoverflow.com/questions/4803462/jgit-java-git-library-unstaging-files
147147
* Git repo on Amazon S3: http://stackoverflow.com/questions/8744611/git-repository-on-s3-as-origin-not-as-backup http://stackoverflow.com/questions/7031729/publish-to-s3-using-git http://www.fancybeans.com/blog/2012/08/24/how-to-use-s3-as-a-private-git-repository/
148-
* CherryPick: https://download.eclipse.org/jgit/site/7.2.1.202505142326-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent
148+
* CherryPick: https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/org/eclipse/jgit/api/CherryPickCommand.html http://stackoverflow.com/questions/18300898/how-to-cherry-pick-a-commit-that-has-more-than-one-parent
149149
* More authentication: http://www.lordofthejars.com/2016/09/authenticating-with-jgit.html
150150
* How to do a shallow clone (i.e. --depth 1) as soon as https://bugs.eclipse.org/bugs/show_bug.cgi?id=475615 is implemented
151151

@@ -157,7 +157,7 @@ If you find these snippets useful and would like to support it, you can [Sponsor
157157

158158
The following sources were used to build the snippets:
159159

160-
* [JGit JavaDoc](https://download.eclipse.org/jgit/site/7.2.1.202505142326-r/apidocs/)
160+
* [JGit JavaDoc](https://download.eclipse.org/jgit/site/7.3.0.202506031305-r/apidocs/)
161161
* [JGit User Guide](http://wiki.eclipse.org/JGit/User_Guide)
162162
* [JGit related questions on stackoverflow](http://stackoverflow.com/questions/tagged/jgit)
163163
* [AlBlue's Blog: Embedding JGit](http://alblue.bandlem.com/2013/11/embedding-jgit.html)

build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@ repositories {
88
}
99

1010
dependencies {
11-
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.2.1.202505142326-r'
12-
implementation 'org.eclipse.jgit:org.eclipse.jgit.archive:7.2.1.202505142326-r'
13-
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:7.2.1.202505142326-r'
14-
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:7.2.1.202505142326-r'
15-
implementation 'commons-io:commons-io:2.19.0'
11+
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.3.0.202506031305-r'
12+
implementation 'org.eclipse.jgit:org.eclipse.jgit.archive:7.3.0.202506031305-r'
13+
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.jsch:7.3.0.202506031305-r'
14+
implementation 'org.eclipse.jgit:org.eclipse.jgit.ssh.apache:7.3.0.202506031305-r'
15+
implementation 'commons-io:commons-io:2.20.0'
1616
implementation 'org.slf4j:slf4j-simple:2.0.17'
1717

1818
// optional dependency of commons-compress which is needed by JGit
1919
implementation 'org.tukaani:xz:1.9'
2020

21-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.13.1'
22-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.1'
23-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.1'
21+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.13.4'
22+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.4'
23+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.4'
2424
}
2525

2626
test {
2727
useJUnitPlatform()
2828
}
2929

3030
wrapper {
31-
gradleVersion = '8.14.2'
31+
gradleVersion = '8.14.3'
3232
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

httpserver/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repositories {
2626
}
2727

2828
dependencies {
29-
implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:7.2.1.202505142326-r'
29+
implementation 'org.eclipse.jgit:org.eclipse.jgit.http.server:7.3.0.202506031305-r'
3030
implementation 'org.eclipse.jetty.ee10:jetty-ee10-servlet:12.0.23'
3131

3232
implementation 'org.slf4j:slf4j-simple:2.0.17'

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@
2626
<dependency>
2727
<groupId>org.eclipse.jgit</groupId>
2828
<artifactId>org.eclipse.jgit</artifactId>
29-
<version>7.2.1.202505142326-r</version>
29+
<version>7.3.0.202506031305-r</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>org.eclipse.jgit</groupId>
3333
<artifactId>org.eclipse.jgit.archive</artifactId>
34-
<version>7.2.1.202505142326-r</version>
34+
<version>7.3.0.202506031305-r</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.eclipse.jgit</groupId>
3838
<artifactId>org.eclipse.jgit.ssh.jsch</artifactId>
39-
<version>7.2.1.202505142326-r</version>
39+
<version>7.3.0.202506031305-r</version>
4040
</dependency>
4141
<dependency>
4242
<groupId>org.eclipse.jgit</groupId>
4343
<artifactId>org.eclipse.jgit.ssh.apache</artifactId>
44-
<version>7.2.1.202505142326-r</version>
44+
<version>7.3.0.202506031305-r</version>
4545
</dependency>
4646

4747
<dependency>
4848
<groupId>commons-io</groupId>
4949
<artifactId>commons-io</artifactId>
50-
<version>2.19.0</version>
50+
<version>2.20.0</version>
5151
</dependency>
5252
<dependency>
5353
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)