Small changes re Ben
This commit is contained in:
parent
dcdacb1c3f
commit
d8a46db6f3
10
build.gradle
10
build.gradle
@ -1,8 +1,6 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
|
||||
@ -16,7 +14,6 @@ plugins {
|
||||
|
||||
import org.gradle.internal.jvm.Jvm
|
||||
import org.apache.tools.ant.util.TeeOutputStream
|
||||
boolean debug = false
|
||||
|
||||
class Tags {
|
||||
Boolean hasMainMethod = false
|
||||
@ -158,7 +155,8 @@ subprojects {
|
||||
// compile group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.7.5'
|
||||
|
||||
// JUnit testing:
|
||||
compile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
|
||||
// Commented as per Ben
|
||||
// compile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
|
||||
testCompile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
|
||||
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
|
||||
}
|
||||
@ -228,7 +226,6 @@ subprojects {
|
||||
if (file.name.endsWith('.java')) {
|
||||
|
||||
Tags tags = new Tags(file)
|
||||
if(debug && tags.hasTags()) println tags
|
||||
|
||||
// Exclude java sources that will not compile
|
||||
if (tags.compileTimeError) {
|
||||
@ -377,7 +374,8 @@ configure(subprojects - project(':onjava')) {
|
||||
compile project(':onjava')
|
||||
compile group: 'com.google.guava', name: 'guava', version: '19.0'
|
||||
compile "org.openjdk.jmh:jmh-core:${jmh.jmhVersion}"
|
||||
compile 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
|
||||
// commented as per Ben:
|
||||
// compile 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user