Skip to content

Commit d8a46db

Browse files
author
Bruce Eckel
committed
Small changes re Ben
1 parent dcdacb1 commit d8a46db

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

build.gradle

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
buildscript {
22
repositories {
3-
mavenLocal()
43
jcenter()
5-
mavenCentral()
64
}
75
dependencies {
86
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
@@ -16,7 +14,6 @@ plugins {
1614

1715
import org.gradle.internal.jvm.Jvm
1816
import org.apache.tools.ant.util.TeeOutputStream
19-
boolean debug = false
2017

2118
class Tags {
2219
Boolean hasMainMethod = false
@@ -158,7 +155,8 @@ subprojects {
158155
// compile group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.7.5'
159156

160157
// JUnit testing:
161-
compile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
158+
// Commented as per Ben
159+
// compile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
162160
testCompile "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
163161
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
164162
}
@@ -228,7 +226,6 @@ subprojects {
228226
if (file.name.endsWith('.java')) {
229227

230228
Tags tags = new Tags(file)
231-
if(debug && tags.hasTags()) println tags
232229

233230
// Exclude java sources that will not compile
234231
if (tags.compileTimeError) {
@@ -377,7 +374,8 @@ configure(subprojects - project(':onjava')) {
377374
compile project(':onjava')
378375
compile group: 'com.google.guava', name: 'guava', version: '19.0'
379376
compile "org.openjdk.jmh:jmh-core:${jmh.jmhVersion}"
380-
compile 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
377+
// commented as per Ben:
378+
// compile 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M2'
381379
}
382380
}
383381

0 commit comments

Comments
 (0)