Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
Use gradle's new junit support
Browse files Browse the repository at this point in the history
  • Loading branch information
schnapster committed Mar 11, 2018
1 parent 3a55cf4 commit 3f833d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion FredBoat/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: 'com.gorylenko.gradle-git-properties'
apply plugin: 'com.sedmelluq.jdaction'
apply plugin: 'application'
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'propdeps'
apply plugin: 'propdeps-idea'
apply plugin: 'org.springframework.boot'
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ subprojects {
jdactionVersion = '1.0.2'
shadowVersion = '2.0.2'
springBootVersion = '2.0.0.RELEASE'
jUnitPluginVersion = '1.0.2'
propDepsVersion = '0.0.9.RELEASE'

//@formatter:on
Expand All @@ -40,7 +39,6 @@ subprojects {
classpath "gradle.plugin.com.sedmelluq:jdaction:${jdactionVersion}"
classpath "com.github.jengelman.gradle.plugins:shadow:${shadowVersion}"
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.junit.platform:junit-platform-gradle-plugin:${jUnitPluginVersion}"
classpath "io.spring.gradle:propdeps-plugin:${propDepsVersion}"
}
}
Expand All @@ -57,6 +55,10 @@ subprojects {
options.encoding = 'UTF-8'
}

test {
useJUnitPlatform()
}

ext {
//@formatter:off

Expand Down

0 comments on commit 3f833d4

Please sign in to comment.