Added Andres Almiray JMH changes and also buildScan

This commit is contained in:
Bruce Eckel 2016-08-16 16:49:37 -06:00
parent a45ba31a98
commit dd67261553

View File

@ -7,7 +7,9 @@ buildscript {
} }
plugins { plugins {
id 'me.champeau.gradle.jmh' version '0.3.0' id 'com.gradle.build-scan' version '1.0' // Should be first in list
id 'com.github.johnrengelman.shadow' version '1.2.3'
id 'me.champeau.gradle.jmh' version '0.3.1'
} }
import org.gradle.internal.jvm.Jvm import org.gradle.internal.jvm.Jvm
@ -122,6 +124,7 @@ class Tags {
} }
subprojects { subprojects {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'me.champeau.gradle.jmh' apply plugin: 'me.champeau.gradle.jmh'
apply plugin: 'java' apply plugin: 'java'
@ -153,6 +156,7 @@ subprojects {
jmh { jmh {
jmhVersion = '1.13' jmhVersion = '1.13'
duplicateClassesStrategy = 'warn'
} }
List createdTasks = [] List createdTasks = []
@ -303,3 +307,8 @@ task verify(type:Exec) {
println("execute 'gradlew run' first") println("execute 'gradlew run' first")
} }
} }
buildScan {
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
}