From 6170157daac729cf2209e6f47a1ee62422c9b4e8 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 25 Nov 2024 15:18:36 +0200 Subject: [PATCH] remove unneeded dependencies --- build.gradle | 20 -------------------- src/main/java/module-info.java | 1 - 2 files changed, 21 deletions(-) diff --git a/build.gradle b/build.gradle index d9eff73..25169fd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,5 @@ -buildscript { - repositories { - maven { - url "https://plugins.gradle.org/m2/" - } - } -} - plugins { id 'java-library' - id 'extra-java-module-info' } tasks.withType(AbstractArchiveTask) { @@ -27,9 +18,6 @@ repositories { } dependencies { - implementation ('com.googlecode.json-simple:json-simple:1.1.1') { - exclude group: 'junit', module: 'junit' - } implementation ('org.bouncycastle:bcprov-jdk18on:1.77') implementation('org.pgpainless:pgpainless-core:1.6.7') implementation ('de.mkammerer:argon2-jvm:2.11') { @@ -57,11 +45,3 @@ processResources { } } -extraJavaModuleInfo { - module('json-simple-1.1.1.jar', 'json.simple', '1.1.1') { - exports('org.json.simple') - exports('org.json.simple.parser') - } - module('jnacl-1.0.0.jar', 'eu.neilalexander.jnacl', '1.0.0') - module('jsr305-3.0.2.jar', 'com.google.code.findbugs.jsr305', '3.0.2') -} diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index a733b58..236b7bc 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -6,7 +6,6 @@ open module com.sparrowwallet.drongo { requires org.slf4j; requires ch.qos.logback.core; requires ch.qos.logback.classic; - requires json.simple; exports com.sparrowwallet.drongo; exports com.sparrowwallet.drongo.psbt; exports com.sparrowwallet.drongo.protocol;