From 191770fafb67b8cf7e0a0338fd89fc155965da5d Mon Sep 17 00:00:00 2001 From: Johannes Link Date: Sat, 11 Mar 2023 11:27:20 +0100 Subject: [PATCH] Remove unnecessary jqwik module dependencies --- build.gradle | 6 +++--- pom.xml | 7 ++++--- .../net/jqwik/vavr/arbitraries/base/MapBasedArbitrary.java | 2 -- .../base/AbstractDoubleTypeArbitraryProvider.java | 3 +-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index cfde803..0531fca 100644 --- a/build.gradle +++ b/build.gradle @@ -34,14 +34,14 @@ version = jqwikVavrVersion description = "Jqwik Vavr support module" dependencies { - api("net.jqwik:jqwik:${jqwikVersion}") + api("net.jqwik:jqwik-api:${jqwikVersion}") - implementation("net.jqwik:jqwik-engine:${jqwikVersion}") implementation("io.vavr:vavr:${vavrVersion}") testImplementation("org.hamcrest:hamcrest:${hamcrestVersion}") + testRuntimeOnly("net.jqwik:jqwik-engine:${jqwikVersion}") - // Only needed to work around intelliJ bug with running tests in package + // Only needed to work around intelliJ bug with running all tests in package testImplementation("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}") } diff --git a/pom.xml b/pom.xml index 38d59cf..f3b1276 100644 --- a/pom.xml +++ b/pom.xml @@ -64,17 +64,18 @@ net.jqwik - jqwik + jqwik-api ${jqwik.version} + + net.jqwik jqwik-engine ${jqwik.version} - compile + test - org.hamcrest hamcrest diff --git a/src/main/java/net/jqwik/vavr/arbitraries/base/MapBasedArbitrary.java b/src/main/java/net/jqwik/vavr/arbitraries/base/MapBasedArbitrary.java index ccb592b..7f4c335 100644 --- a/src/main/java/net/jqwik/vavr/arbitraries/base/MapBasedArbitrary.java +++ b/src/main/java/net/jqwik/vavr/arbitraries/base/MapBasedArbitrary.java @@ -12,8 +12,6 @@ import java.util.function.Function; /** - * @see net.jqwik.engine.properties.arbitraries.DefaultMapArbitrary - * * @param Key type * @param Value type * @param Map type diff --git a/src/main/java/net/jqwik/vavr/providers/base/AbstractDoubleTypeArbitraryProvider.java b/src/main/java/net/jqwik/vavr/providers/base/AbstractDoubleTypeArbitraryProvider.java index 01bf231..3cde616 100644 --- a/src/main/java/net/jqwik/vavr/providers/base/AbstractDoubleTypeArbitraryProvider.java +++ b/src/main/java/net/jqwik/vavr/providers/base/AbstractDoubleTypeArbitraryProvider.java @@ -2,13 +2,12 @@ import net.jqwik.api.Arbitrary; import net.jqwik.api.providers.TypeUsage; -import net.jqwik.engine.providers.HashMapArbitraryProvider; import java.util.Set; import java.util.stream.Collectors; /** - * @see HashMapArbitraryProvider + * @see net.jqwik.engine.providers.HashMapArbitraryProvider * * @author Benno Müller */