diff --git a/.github/workflows/slow.yml b/.github/workflows/slow.yml index 6da24f0c5c..e1c673f394 100644 --- a/.github/workflows/slow.yml +++ b/.github/workflows/slow.yml @@ -50,8 +50,6 @@ jobs: uses: actions/setup-dotnet@v2 with: dotnet-version: ${{ matrix.dotnet }} - - name: Build SbeTool - run: ./gradlew - name: Build .NET library run: ./csharp/build.sh - name: Run property tests diff --git a/build.gradle b/build.gradle index 3b4a1507c2..9a497e90fb 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ def checkstyleVersion = '9.3' def hamcrestVersion = '2.2' def mockitoVersion = '4.11.0' def junitVersion = '5.10.1' -def jqwikVersion = '1.8.0' +def jqwikVersion = '1.8.1' def jsonVersion = '20230618' def jmhVersion = '1.37' def agronaVersion = '1.20.0' @@ -294,11 +294,17 @@ project(':sbe-tool') { } propertyTest(JvmTestSuite) { + // We should be able to use _only_ the JQwik engine, but this issue is outstanding: + // https://github.com/gradle/gradle/issues/21299 useJUnitJupiter junitVersion dependencies { implementation project() - implementation "net.jqwik:jqwik:${jqwikVersion}" + implementation("net.jqwik:jqwik:${jqwikVersion}") { + // Exclude JUnit 5 dependencies that are already provided due to useJUnitJupiter + exclude group: 'org.junit.platform', module: 'junit-platform-commons' + exclude group: 'org.junit.platform', module: 'junit-platform-engine' + } implementation "org.json:json:${jsonVersion}" }