Set junit-jupiter-api version in <dependencyManagement>

This makes the kotlin-test-junit5 dependency work regardless of order.
bzip2
Graham 5 years ago
parent e05653cdcc
commit 15f07baadf
  1. 9
      common/pom.xml
  2. 6
      pom.xml

@ -31,14 +31,13 @@
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
</dependency>
<!-- XXX(gpe): must be before kotlin-test-junit5 so we get the correct version of junit-jupiter-api (ugh!) -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit5</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
</dependency>
</dependencies>
</project>

@ -118,6 +118,12 @@
<version>5.5.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.5.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Loading…
Cancel
Save