File tree Expand file tree Collapse file tree 2 files changed +20
-11
lines changed
Expand file tree Collapse file tree 2 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ project.ext {
1313}
1414version = ' 1.0-SNAPSHOT'
1515
16- ext. junitJupiterVersion = ' 5.0.0-M1 '
16+ ext. junitJupiterVersion = ' 5.0.0-RC3 '
1717ext. log4JVersion = ' 2.5'
1818
1919sourceCompatibility = targetCompatibility = 1.8
@@ -25,7 +25,7 @@ buildscript {
2525 mavenCentral()
2626 }
2727 dependencies {
28- classpath ' org.junit.platform:junit-platform-gradle-plugin:1.0.0-M1 '
28+ classpath ' org.junit.platform:junit-platform-gradle-plugin:1.0.0-RC3 '
2929 }
3030}
3131
@@ -42,13 +42,15 @@ dependencies {
4242
4343junitPlatform {
4444 logManager ' org.apache.logging.log4j.jul.LogManager'
45- engines {
46- include ' junit-jupiter'
45+ filters {
46+ engines {
47+ include ' junit-jupiter'
48+ }
49+ tags {
50+ exclude ' slow'
51+ }
52+ includeClassNamePattern ' .*Test'
4753 }
48- tags {
49- exclude ' slow'
50- }
51- includeClassNamePattern ' .*Test'
5254}
5355
5456wrapper {
Original file line number Diff line number Diff line change 1313 <properties >
1414 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1515 <java .version>1.8</java .version>
16+ <junit .jupiter.version>5.0.0-RC3</junit .jupiter.version>
17+ <junit .platform.version>1.0.0-RC3</junit .platform.version>
1618 </properties >
1719
1820 <pluginRepositories >
3133 <dependencies >
3234 <dependency >
3335 <groupId >org.junit.jupiter</groupId >
34- <artifactId >junit-jupiter-engine </artifactId >
35- <version >5.0.0-M1 </version >
36+ <artifactId >junit-jupiter-api </artifactId >
37+ <version >${junit.jupiter.version} </version >
3638 <scope >test</scope >
3739 </dependency >
3840 </dependencies >
6163 <dependency >
6264 <groupId >org.junit.platform</groupId >
6365 <artifactId >junit-platform-surefire-provider</artifactId >
64- <version >1.0.0-M1</version >
66+ <version >${junit.platform.version} </version >
67+ </dependency >
68+ <dependency >
69+ <groupId >org.junit.jupiter</groupId >
70+ <artifactId >junit-jupiter-engine</artifactId >
71+ <version >${junit.jupiter.version} </version >
6572 </dependency >
6673 </dependencies >
6774 </plugin >
You can’t perform that action at this time.
0 commit comments