Skip to content

Commit

Permalink
Remove unnecessary jqwik module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jlink committed Mar 11, 2023
1 parent c2a8375 commit 191770f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
}

Expand Down
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,18 @@

<dependency>
<groupId>net.jqwik</groupId>
<artifactId>jqwik</artifactId>
<artifactId>jqwik-api</artifactId>
<version>${jqwik.version}</version>
</dependency>

<!-- Test -->
<dependency>
<groupId>net.jqwik</groupId>
<artifactId>jqwik-engine</artifactId>
<version>${jqwik.version}</version>
<scope>compile</scope>
<scope>test</scope>
</dependency>

<!-- Test -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import java.util.function.Function;

/**
* @see net.jqwik.engine.properties.arbitraries.DefaultMapArbitrary
*
* @param <K> Key type
* @param <V> Value type
* @param <U> Map type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 191770f

Please sign in to comment.