update gradle to 8.6
This commit is contained in:
21
build.gradle
21
build.gradle
@@ -1,4 +1,4 @@
|
||||
|
||||
/*
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
@@ -7,19 +7,20 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
// run with Java 11 and ./gradlew --no-daemon clean jmh
|
||||
classpath "me.champeau.gradle:jmh-gradle-plugin:0.5.3"
|
||||
classpath "me.champeau.gradle:jmh-gradle-plugin:0.7.2"
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// usage: gradle dependencyUpdates -Drevision=release
|
||||
id "com.github.ben-manes.versions" version "0.45.0"
|
||||
|
||||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
|
||||
ext {
|
||||
javaVersion=17
|
||||
version_junit = '5.9.2'
|
||||
@@ -38,7 +39,7 @@ subprojects {
|
||||
apply plugin: 'eclipse'
|
||||
//apply plugin: 'maven'
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'me.champeau.gradle.jmh'
|
||||
apply plugin: 'me.champeau.jmh'
|
||||
|
||||
// java compatibility version
|
||||
sourceCompatibility = 17
|
||||
@@ -46,12 +47,7 @@ subprojects {
|
||||
configurations {
|
||||
tests
|
||||
}
|
||||
|
||||
// the repositories for external depenencies
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Publish the to a local repository.
|
||||
* Use 'gradlew publishToMavenLocal' to publish to the local maven repo.
|
||||
@@ -100,11 +96,12 @@ subprojects {
|
||||
jmh {
|
||||
//jvmArgsAppend = ""
|
||||
resultFormat = "JSON"
|
||||
include = ['.*BenchmarkMultiwayMerge.*'] // include pattern (regular expression) for benchmarks to be executed
|
||||
includes = ['.*BenchmarkMultiwayMerge.*'] // include pattern (regular expression) for benchmarks to be executed
|
||||
//includes = ['.*']
|
||||
//exclude = ['some regular expression'] // exclude pattern (regular expression) for benchmarks to be executed
|
||||
}
|
||||
}
|
||||
|
||||
wrapper {
|
||||
gradleVersion = '7.5.1'
|
||||
gradleVersion = '8.6'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user