Skip to content

Commit ed35883

Browse files
okhowangweijunyi
authored andcommitted
chore: update dependencies
drop support for java 1.6
1 parent 671a5f4 commit ed35883

File tree

5 files changed

+44
-13
lines changed

5 files changed

+44
-13
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ repositories {
66
}
77
dependencies {
88
// https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on
9-
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.59'
9+
compile group: 'org.bouncycastle', name: 'bcpkix-jdk18on', version: '1.78.1'
1010
// https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on
11-
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.59'
11+
compile group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: '1.78.1'
1212
// https://mvnrepository.com/artifact/org.json/json
13-
compile group: 'org.json', name: 'json', version: '20180130'
13+
compile group: 'org.json', name: 'json', version: '20240303'
1414
// https://mvnrepository.com/artifact/junit/junit
15-
testCompile group: 'junit', name: 'junit', version: '4.12'
15+
testCompile group: 'junit', name: 'junit', version: '4.13.1'
1616
}
17-
sourceCompatibility = 1.6
17+
sourceCompatibility = 1.8
1818
version = '1.2'
1919
group = "com.github.tencentyun"
2020
archivesBaseName = "tls-sig-api"

gradle/wrapper/gradle-wrapper.jar

910 Bytes
Binary file not shown.
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Thu Jan 24 15:21:17 CST 2019
2-
distributionBase=GRADLE_USER_HOME
3-
distributionPath=wrapper/dists
4-
zipStoreBase=GRADLE_USER_HOME
5-
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-all.zip
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env sh
22

3+
#
4+
# Copyright 2015 the original author or authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
319
##############################################################################
420
##
521
## Gradle start up script for UN*X
@@ -28,7 +44,7 @@ APP_NAME="Gradle"
2844
APP_BASE_NAME=`basename "$0"`
2945

3046
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31-
DEFAULT_JVM_OPTS=""
47+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
3248

3349
# Use the maximum available, or set MAX_FD != -1 to use that value.
3450
MAX_FD="maximum"

gradlew.bat

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
@rem
2+
@rem Copyright 2015 the original author or authors.
3+
@rem
4+
@rem Licensed under the Apache License, Version 2.0 (the "License");
5+
@rem you may not use this file except in compliance with the License.
6+
@rem You may obtain a copy of the License at
7+
@rem
8+
@rem http://www.apache.org/licenses/LICENSE-2.0
9+
@rem
10+
@rem Unless required by applicable law or agreed to in writing, software
11+
@rem distributed under the License is distributed on an "AS IS" BASIS,
12+
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
@rem See the License for the specific language governing permissions and
14+
@rem limitations under the License.
15+
@rem
16+
117
@if "%DEBUG%" == "" @echo off
218
@rem ##########################################################################
319
@rem
@@ -14,7 +30,7 @@ set APP_BASE_NAME=%~n0
1430
set APP_HOME=%DIRNAME%
1531

1632
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17-
set DEFAULT_JVM_OPTS=
33+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
1834

1935
@rem Find java.exe
2036
if defined JAVA_HOME goto findJavaFromJavaHome

0 commit comments

Comments
 (0)