Skip to content

Commit 606f290

Browse files
committed
use JGit 7.1.0 version
1 parent 6aab098 commit 606f290

11 files changed

Lines changed: 354 additions & 576 deletions

.mvn/wrapper/MavenWrapperDownloader.java

Lines changed: 0 additions & 117 deletions
This file was deleted.

.mvn/wrapper/maven-wrapper.jar

-57.4 KB
Binary file not shown.

.mvn/wrapper/maven-wrapper.properties

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
# to you under the Apache License, Version 2.0 (the
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
8-
#
8+
#
99
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
10+
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

build.gradle

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
plugins {
22
id 'application'
3-
id 'org.graalvm.buildtools.native' version '0.10.2'
3+
id 'org.graalvm.buildtools.native' version '0.10.5'
44
}
55

66
tasks.wrapper {
7-
gradleVersion = '8.8'
7+
gradleVersion = '8.12.1'
88
distributionType = Wrapper.DistributionType.ALL
99
}
1010

1111
group = 'com.github.chirontt'
12-
version = '6.10.0'
12+
version = '7.1.0'
1313
description = 'JGit PGM native executable built by GraalVM'
1414

1515
ext {
1616
mainClassName = 'com.github.chirontt.jgit.graalvm.NativeMain'
17-
jgitReleaseVersion = '6.10.0.202406032230-r'
18-
commonsCompressVersion = '1.26.1'
19-
slf4jVersion = '2.0.13'
20-
xzVersion = '1.9'
17+
jgitReleaseVersion = '7.1.0.202411261347-r'
18+
slf4jVersion = '2.0.16'
19+
xzVersion = '1.10'
2120
graalvmVersion = '22.3.5'
2221
currentPlatform = getCurrentPlatform()
2322
}
@@ -43,11 +42,8 @@ compileJava {
4342

4443
dependencies {
4544
implementation("org.eclipse.jgit:org.eclipse.jgit.pgm:$jgitReleaseVersion") {
46-
//exclude vulnerable transitive dependency versions
47-
exclude group: 'org.apache.commons', module: 'commons-compress'
4845
exclude group: 'org.slf4j', module: '*'
4946
}
50-
implementation "org.apache.commons:commons-compress:$commonsCompressVersion"
5147
implementation "org.slf4j:slf4j-simple:$slf4jVersion"
5248

5349
//optional, but required by GraalVM native-image build
@@ -115,7 +111,7 @@ task uberJar(type: Jar) {
115111
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
116112
}
117113
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
118-
duplicatesStrategy 'exclude'
114+
duplicatesStrategy = 'exclude'
119115
}
120116

121117
graalvmNative {
@@ -163,6 +159,8 @@ graalvmNative {
163159

164160
//packages/classes to be re-initialized at native image run time
165161
def runTimeReInitClasses = [
162+
'org.apache.sshd.common.random.JceRandom:rerun',
163+
'org.apache.sshd.common.random.JceRandom$Cache:rerun',
166164
//all BouncyCastle classes are required to be initialized at build time
167165
//(specified in the BouncyCastleFeature class), but due to SecureRandom seeding
168166
//in their static initialization blocks, some BouncyCastle classes need be

gradle/wrapper/gradle-wrapper.jar

130 Bytes
Binary file not shown.

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.8-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)