diff --git a/build.gradle b/build.gradle index c44cee9f49..46efab5f84 100644 --- a/build.gradle +++ b/build.gradle @@ -32,6 +32,10 @@ version = project.mod_version group = project.maven_group sourceSets { + vendored { + java {} + } + sodiumCompatibility { java { compileClasspath += main.compileClasspath @@ -40,6 +44,9 @@ sourceSets { main { java { + compileClasspath += vendored.output + runtimeClasspath += vendored.output + compileClasspath += sodiumCompatibility.output runtimeClasspath += sodiumCompatibility.output } diff --git a/src/main/java/de/odysseus/ithaka/digraph/Digraph.java b/src/vendored/java/de/odysseus/ithaka/digraph/Digraph.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/Digraph.java rename to src/vendored/java/de/odysseus/ithaka/digraph/Digraph.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/DigraphAdapter.java b/src/vendored/java/de/odysseus/ithaka/digraph/DigraphAdapter.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/DigraphAdapter.java rename to src/vendored/java/de/odysseus/ithaka/digraph/DigraphAdapter.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/DigraphFactory.java b/src/vendored/java/de/odysseus/ithaka/digraph/DigraphFactory.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/DigraphFactory.java rename to src/vendored/java/de/odysseus/ithaka/digraph/DigraphFactory.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/DigraphProvider.java b/src/vendored/java/de/odysseus/ithaka/digraph/DigraphProvider.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/DigraphProvider.java rename to src/vendored/java/de/odysseus/ithaka/digraph/DigraphProvider.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/Digraphs.java b/src/vendored/java/de/odysseus/ithaka/digraph/Digraphs.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/Digraphs.java rename to src/vendored/java/de/odysseus/ithaka/digraph/Digraphs.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/DoubledDigraph.java b/src/vendored/java/de/odysseus/ithaka/digraph/DoubledDigraph.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/DoubledDigraph.java rename to src/vendored/java/de/odysseus/ithaka/digraph/DoubledDigraph.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/DoubledDigraphAdapter.java b/src/vendored/java/de/odysseus/ithaka/digraph/DoubledDigraphAdapter.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/DoubledDigraphAdapter.java rename to src/vendored/java/de/odysseus/ithaka/digraph/DoubledDigraphAdapter.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/EdgeWeights.java b/src/vendored/java/de/odysseus/ithaka/digraph/EdgeWeights.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/EdgeWeights.java rename to src/vendored/java/de/odysseus/ithaka/digraph/EdgeWeights.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/EmptyDigraph.java b/src/vendored/java/de/odysseus/ithaka/digraph/EmptyDigraph.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/EmptyDigraph.java rename to src/vendored/java/de/odysseus/ithaka/digraph/EmptyDigraph.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/MapDigraph.java b/src/vendored/java/de/odysseus/ithaka/digraph/MapDigraph.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/MapDigraph.java rename to src/vendored/java/de/odysseus/ithaka/digraph/MapDigraph.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/TrivialDigraph.java b/src/vendored/java/de/odysseus/ithaka/digraph/TrivialDigraph.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/TrivialDigraph.java rename to src/vendored/java/de/odysseus/ithaka/digraph/TrivialDigraph.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/UnmodifiableDigraph.java b/src/vendored/java/de/odysseus/ithaka/digraph/UnmodifiableDigraph.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/UnmodifiableDigraph.java rename to src/vendored/java/de/odysseus/ithaka/digraph/UnmodifiableDigraph.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/io/dot/DotAttribute.java b/src/vendored/java/de/odysseus/ithaka/digraph/io/dot/DotAttribute.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/io/dot/DotAttribute.java rename to src/vendored/java/de/odysseus/ithaka/digraph/io/dot/DotAttribute.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/io/dot/DotExporter.java b/src/vendored/java/de/odysseus/ithaka/digraph/io/dot/DotExporter.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/io/dot/DotExporter.java rename to src/vendored/java/de/odysseus/ithaka/digraph/io/dot/DotExporter.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/io/dot/DotProvider.java b/src/vendored/java/de/odysseus/ithaka/digraph/io/dot/DotProvider.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/io/dot/DotProvider.java rename to src/vendored/java/de/odysseus/ithaka/digraph/io/dot/DotProvider.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/io/tgf/TgfExporter.java b/src/vendored/java/de/odysseus/ithaka/digraph/io/tgf/TgfExporter.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/io/tgf/TgfExporter.java rename to src/vendored/java/de/odysseus/ithaka/digraph/io/tgf/TgfExporter.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/io/tgf/TgfLabelProvider.java b/src/vendored/java/de/odysseus/ithaka/digraph/io/tgf/TgfLabelProvider.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/io/tgf/TgfLabelProvider.java rename to src/vendored/java/de/odysseus/ithaka/digraph/io/tgf/TgfLabelProvider.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/util/fas/AbstractFeedbackArcSetProvider.java b/src/vendored/java/de/odysseus/ithaka/digraph/util/fas/AbstractFeedbackArcSetProvider.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/util/fas/AbstractFeedbackArcSetProvider.java rename to src/vendored/java/de/odysseus/ithaka/digraph/util/fas/AbstractFeedbackArcSetProvider.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSet.java b/src/vendored/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSet.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSet.java rename to src/vendored/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSet.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetPolicy.java b/src/vendored/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetPolicy.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetPolicy.java rename to src/vendored/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetPolicy.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetProvider.java b/src/vendored/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetProvider.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetProvider.java rename to src/vendored/java/de/odysseus/ithaka/digraph/util/fas/FeedbackArcSetProvider.java diff --git a/src/main/java/de/odysseus/ithaka/digraph/util/fas/SimpleFeedbackArcSetProvider.java b/src/vendored/java/de/odysseus/ithaka/digraph/util/fas/SimpleFeedbackArcSetProvider.java similarity index 100% rename from src/main/java/de/odysseus/ithaka/digraph/util/fas/SimpleFeedbackArcSetProvider.java rename to src/vendored/java/de/odysseus/ithaka/digraph/util/fas/SimpleFeedbackArcSetProvider.java