bump Gradle version to 7
This commit is contained in:
@@ -8,4 +8,9 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
implementation project(':')
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'net.woggioni.jwo.benchmark.Main'
|
||||
}
|
||||
|
||||
|
14
build.gradle
14
build.gradle
@@ -1,10 +1,15 @@
|
||||
plugins {
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'java-library'
|
||||
group = "net.woggioni"
|
||||
version = jwoVersion
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
['', 'test'].each {sourceSetName ->
|
||||
@@ -19,7 +24,6 @@ allprojects {
|
||||
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junitJupiterVersion
|
||||
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitJupiterVersion
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -27,7 +31,7 @@ dependencies {
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs << '--release' << '8'
|
||||
options.release = 8
|
||||
}
|
||||
|
||||
jar {
|
||||
@@ -40,5 +44,5 @@ jar {
|
||||
|
||||
wrapper {
|
||||
distributionType = Wrapper.DistributionType.BIN
|
||||
gradleVersion = "6.8.2"
|
||||
}
|
||||
gradleVersion = "7.0"
|
||||
}
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
Reference in New Issue
Block a user