diff --git a/build.gradle b/build.gradle index 04444810..38ca841f 100644 --- a/build.gradle +++ b/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' } }