mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
upgrade jdbi to remove older caffeine dependency
This commit is contained in:
parent
480ce1e476
commit
e776a17ad4
4 changed files with 5 additions and 19 deletions
19
build.gradle
19
build.gradle
|
|
@ -51,10 +51,10 @@ dependencies {
|
|||
implementation('com.zaxxer:HikariCP:4.0.3') {
|
||||
exclude group: 'org.slf4j'
|
||||
}
|
||||
implementation('org.jdbi:jdbi3-core:3.20.0') {
|
||||
implementation('org.jdbi:jdbi3-core:3.49.5') {
|
||||
exclude group: 'org.slf4j'
|
||||
}
|
||||
implementation('org.jdbi:jdbi3-sqlobject:3.20.0') {
|
||||
implementation('org.jdbi:jdbi3-sqlobject:3.49.5') {
|
||||
exclude group: 'org.slf4j'
|
||||
}
|
||||
implementation('org.flywaydb:flyway-core:9.22.3')
|
||||
|
|
@ -407,21 +407,6 @@ extraJavaModuleInfo {
|
|||
module('com.google.guava:listenablefuture|empty-to-avoid-conflict-with-guava', 'com.google.guava.listenablefuture')
|
||||
module('com.google.code.findbugs:jsr305', 'com.google.code.findbugs.jsr305')
|
||||
module('j2objc-annotations-2.8.jar', 'com.google.j2objc.j2objc.annotations', '2.8')
|
||||
module('org.jdbi:jdbi3-core', 'org.jdbi.v3.core') {
|
||||
exports('org.jdbi.v3.core')
|
||||
exports('org.jdbi.v3.core.mapper')
|
||||
exports('org.jdbi.v3.core.statement')
|
||||
exports('org.jdbi.v3.core.result')
|
||||
exports('org.jdbi.v3.core.h2')
|
||||
exports('org.jdbi.v3.core.spi')
|
||||
requires('io.leangen.geantyref')
|
||||
requires('java.sql')
|
||||
requires('org.slf4j')
|
||||
requires('com.github.benmanes.caffeine')
|
||||
}
|
||||
module('io.leangen.geantyref:geantyref', 'io.leangen.geantyref') {
|
||||
exports('io.leangen.geantyref')
|
||||
}
|
||||
module('org.fxmisc.richtext:richtextfx', 'org.fxmisc.richtext') {
|
||||
exports('org.fxmisc.richtext')
|
||||
exports('org.fxmisc.richtext.event')
|
||||
|
|
|
|||
2
drongo
2
drongo
|
|
@ -1 +1 @@
|
|||
Subproject commit b25289b7b5d80e3f1c81546914ebf5c95a1bd446
|
||||
Subproject commit 3b069c12ca39f65521628e7b4299d72883205fca
|
||||
|
|
@ -684,7 +684,7 @@ public class Storage {
|
|||
|
||||
public static Executor getSingleThreadedExecutor() {
|
||||
if(singleThreadedExecutor == null) {
|
||||
BasicThreadFactory factory = new BasicThreadFactory.Builder().namingPattern("LoadWalletService-single").daemon(true).priority(Thread.MIN_PRIORITY).build();
|
||||
BasicThreadFactory factory = BasicThreadFactory.builder().namingPattern("LoadWalletService-single").daemon(true).priority(Thread.MIN_PRIORITY).build();
|
||||
singleThreadedExecutor = Executors.newSingleThreadScheduledExecutor(factory);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ open module com.sparrowwallet.sparrow {
|
|||
requires com.google.gson;
|
||||
requires org.jdbi.v3.core;
|
||||
requires org.jdbi.v3.sqlobject;
|
||||
requires io.leangen.geantyref;
|
||||
requires org.flywaydb.core;
|
||||
requires com.zaxxer.hikari;
|
||||
requires com.h2database;
|
||||
|
|
|
|||
Loading…
Reference in a new issue