Update some dependency versions
This commit is contained in:
parent
f11ebe6166
commit
7d90dba08b
@ -144,7 +144,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zaxxer</groupId>
|
<groupId>com.zaxxer</groupId>
|
||||||
<artifactId>HikariCP</artifactId>
|
<artifactId>HikariCP</artifactId>
|
||||||
<version>2.7.8</version>
|
<version>3.1.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -96,14 +96,14 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.squareup.okhttp3</groupId>
|
<groupId>com.squareup.okhttp3</groupId>
|
||||||
<artifactId>okhttp</artifactId>
|
<artifactId>okhttp</artifactId>
|
||||||
<version>3.9.1</version>
|
<version>3.10.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- okio -->
|
<!-- okio -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.squareup.okio</groupId>
|
<groupId>com.squareup.okio</groupId>
|
||||||
<artifactId>okio</artifactId>
|
<artifactId>okio</artifactId>
|
||||||
<version>1.13.0</version>
|
<version>1.14.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@ -157,7 +157,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zaxxer</groupId>
|
<groupId>com.zaxxer</groupId>
|
||||||
<artifactId>HikariCP</artifactId>
|
<artifactId>HikariCP</artifactId>
|
||||||
<version>2.7.8</version>
|
<version>3.1.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Jedis -->
|
<!-- Jedis -->
|
||||||
@ -171,7 +171,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mongodb</groupId>
|
<groupId>org.mongodb</groupId>
|
||||||
<artifactId>mongo-java-driver</artifactId>
|
<artifactId>mongo-java-driver</artifactId>
|
||||||
<version>3.6.1</version>
|
<version>3.6.3</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- SnakeYAML -->
|
<!-- SnakeYAML -->
|
||||||
|
@ -43,14 +43,14 @@ public enum Dependency {
|
|||||||
ASM(
|
ASM(
|
||||||
"org.ow2.asm",
|
"org.ow2.asm",
|
||||||
"asm",
|
"asm",
|
||||||
"6.0",
|
"6.1.1",
|
||||||
"3Ylxx0pOaXiZqOlcquTqh2DqbEhtxrl7F5XnV2BCBGE="
|
"3TtUZBXdS63i6+O0fHgoqwYj7iM2YEBo4tgQI/n42DM="
|
||||||
),
|
),
|
||||||
ASM_COMMONS(
|
ASM_COMMONS(
|
||||||
"org.ow2.asm",
|
"org.ow2.asm",
|
||||||
"asm-commons",
|
"asm-commons",
|
||||||
"6.0",
|
"6.1.1",
|
||||||
"8bzlxkipagF73NAf5dWa+YRSl/17ebgcAVpvu9lxmr8="
|
"hvVtP58zCQu9/PZjAniac17Kdfol6uidP7E/TrE7VtE="
|
||||||
),
|
),
|
||||||
JAR_RELOCATOR(
|
JAR_RELOCATOR(
|
||||||
"me.lucko",
|
"me.lucko",
|
||||||
@ -69,15 +69,15 @@ public enum Dependency {
|
|||||||
OKIO(
|
OKIO(
|
||||||
"com{}squareup{}" + RelocationHelper.OKIO_STRING,
|
"com{}squareup{}" + RelocationHelper.OKIO_STRING,
|
||||||
RelocationHelper.OKIO_STRING,
|
RelocationHelper.OKIO_STRING,
|
||||||
"1.13.0",
|
"1.14.0",
|
||||||
"c0Jpw+vFCQ47I1ZttVj0IfC0AnJ3x5rV0Xa47BaLuFA=",
|
"RjPDMfUGQuvnldwInWpZKK/0MHHJ0X54QKAJ7qL+laM=",
|
||||||
Relocation.of(RelocationHelper.OKIO_STRING, RelocationHelper.OKIO_STRING)
|
Relocation.of(RelocationHelper.OKIO_STRING, RelocationHelper.OKIO_STRING)
|
||||||
),
|
),
|
||||||
OKHTTP(
|
OKHTTP(
|
||||||
"com{}squareup{}" + RelocationHelper.OKHTTP3_STRING,
|
"com{}squareup{}" + RelocationHelper.OKHTTP3_STRING,
|
||||||
"okhttp",
|
"okhttp",
|
||||||
"3.9.1",
|
"3.10.0",
|
||||||
"oNAQF6QruiblB/xtRIuzblNvS25hL3xC3jC72sK3eF4=",
|
"Sso+VSr7HOtH+JVmhfYpWiduSfoD+QZvi2voO+xW+2Y=",
|
||||||
Relocation.allOf(
|
Relocation.allOf(
|
||||||
Relocation.of(RelocationHelper.OKHTTP3_STRING, RelocationHelper.OKHTTP3_STRING),
|
Relocation.of(RelocationHelper.OKHTTP3_STRING, RelocationHelper.OKHTTP3_STRING),
|
||||||
Relocation.of(RelocationHelper.OKIO_STRING, RelocationHelper.OKIO_STRING)
|
Relocation.of(RelocationHelper.OKIO_STRING, RelocationHelper.OKIO_STRING)
|
||||||
@ -86,15 +86,15 @@ public enum Dependency {
|
|||||||
MARIADB_DRIVER(
|
MARIADB_DRIVER(
|
||||||
"org{}mariadb{}jdbc",
|
"org{}mariadb{}jdbc",
|
||||||
"mariadb-java-client",
|
"mariadb-java-client",
|
||||||
"2.2.1",
|
"2.2.3",
|
||||||
"K/WUWx66IX2PpclGA6Eeczs5FyuzqBdcmS/IzNLzKW8=",
|
"82fbZTV5j9yZChgxl9bo7FtKFwh36an5CEN21mzyrLs=",
|
||||||
Relocation.of("mariadb", "org{}mariadb{}jdbc")
|
Relocation.of("mariadb", "org{}mariadb{}jdbc")
|
||||||
),
|
),
|
||||||
MYSQL_DRIVER(
|
MYSQL_DRIVER(
|
||||||
"mysql",
|
"mysql",
|
||||||
"mysql-connector-java",
|
"mysql-connector-java",
|
||||||
"5.1.45",
|
"5.1.46",
|
||||||
"WbqXFalbltVXkMdH8kxUmr1kXNHpQdrlSxOMATMwDWQ=",
|
"MSIIl2HmQD8C6Kge1KLWWi4QKXNGUboA8uqS2SD/ex4=",
|
||||||
Relocation.of("mysql", "com{}mysql")
|
Relocation.of("mysql", "com{}mysql")
|
||||||
),
|
),
|
||||||
POSTGRESQL_DRIVER(
|
POSTGRESQL_DRIVER(
|
||||||
@ -107,8 +107,8 @@ public enum Dependency {
|
|||||||
H2_DRIVER(
|
H2_DRIVER(
|
||||||
"com.h2database",
|
"com.h2database",
|
||||||
"h2",
|
"h2",
|
||||||
"1.4.196",
|
"1.4.197",
|
||||||
"CgX0oNW4WEAUiq3OY6QjtdPDbvRHVjibT6rQjScz+vU="
|
"N/UhbhSvJ3KTDf+bhzQ1PwqA6Juj8z4GVEHeZTfF6EI="
|
||||||
// we don't apply relocations to h2 - it gets loaded via
|
// we don't apply relocations to h2 - it gets loaded via
|
||||||
// an isolated classloader
|
// an isolated classloader
|
||||||
),
|
),
|
||||||
@ -123,8 +123,8 @@ public enum Dependency {
|
|||||||
HIKARI(
|
HIKARI(
|
||||||
"com{}zaxxer",
|
"com{}zaxxer",
|
||||||
"HikariCP",
|
"HikariCP",
|
||||||
"2.7.8",
|
"3.1.0",
|
||||||
"nmp5eJvNRsz/4fxakr4re5Tdx/U4wy8BlSU2si0j/ZY=",
|
"TBo58lIW2Ukyh3VYKUwOliccAeRx+y9FxdDzsD8UUUw=",
|
||||||
Relocation.of("hikari", "com{}zaxxer{}hikari")
|
Relocation.of("hikari", "com{}zaxxer{}hikari")
|
||||||
),
|
),
|
||||||
SLF4J_SIMPLE(
|
SLF4J_SIMPLE(
|
||||||
@ -142,8 +142,8 @@ public enum Dependency {
|
|||||||
MONGODB_DRIVER(
|
MONGODB_DRIVER(
|
||||||
"org.mongodb",
|
"org.mongodb",
|
||||||
"mongo-java-driver",
|
"mongo-java-driver",
|
||||||
"3.6.1",
|
"3.6.3",
|
||||||
"Po8eyOBWv8XjREKSFrQh/NKHvLabtOysxbEFiD35cEk=",
|
"73CzTswq0jwDVi4EXyE4BGyZWsyiKMbxQa8WLow/wu8=",
|
||||||
Relocation.allOf(
|
Relocation.allOf(
|
||||||
Relocation.of("mongodb", "com{}mongodb"),
|
Relocation.of("mongodb", "com{}mongodb"),
|
||||||
Relocation.of("bson", "org{}bson")
|
Relocation.of("bson", "org{}bson")
|
||||||
@ -163,8 +163,8 @@ public enum Dependency {
|
|||||||
COMMONS_POOL_2(
|
COMMONS_POOL_2(
|
||||||
"org.apache.commons",
|
"org.apache.commons",
|
||||||
"commons-pool2",
|
"commons-pool2",
|
||||||
"2.4.2",
|
"2.5.0",
|
||||||
"IREqpnNzPfzQRTVN33WzHh1GS5nI5RWXQ0myUyJUzFM=",
|
"IRhwQ8eZcdnISLlxhA3oQdoOXE3zDJI6lpFBMfue+Wk=",
|
||||||
Relocation.of("commonspool2", "org{}apache{}commons{}pool2")
|
Relocation.of("commonspool2", "org{}apache{}commons{}pool2")
|
||||||
),
|
),
|
||||||
CONFIGURATE_CORE(
|
CONFIGURATE_CORE(
|
||||||
@ -267,7 +267,7 @@ public enum Dependency {
|
|||||||
byte[] hash = digest.digest(bytes);
|
byte[] hash = digest.digest(bytes);
|
||||||
|
|
||||||
if (Arrays.equals(hash, dependency.getChecksum())) {
|
if (Arrays.equals(hash, dependency.getChecksum())) {
|
||||||
System.out.println("MATCH " + dependency.name() + ": " + Base64.getEncoder().encodeToString(hash));
|
System.out.println("MATCH " + dependency.name() + ": " + Base64.getEncoder().encodeToString(hash));
|
||||||
} else {
|
} else {
|
||||||
System.out.println("NO MATCH " + dependency.name() + ": " + Base64.getEncoder().encodeToString(hash));
|
System.out.println("NO MATCH " + dependency.name() + ": " + Base64.getEncoder().encodeToString(hash));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user