bump Gradle version to 7

This commit is contained in:
2021-05-01 23:47:51 +01:00
parent c6aede665e
commit cffa781cf8
3 changed files with 16 additions and 7 deletions

View File

@@ -8,4 +8,9 @@ repositories {
dependencies { dependencies {
implementation project(':') implementation project(':')
} }
application {
mainClass = 'net.woggioni.jwo.benchmark.Main'
}

View File

@@ -1,10 +1,15 @@
plugins {
id 'maven-publish'
}
allprojects { allprojects {
apply plugin: 'java-library' apply plugin: 'java-library'
group = "net.woggioni" group = "net.woggioni"
version = jwoVersion
repositories { repositories {
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()
jcenter()
} }
dependencies { dependencies {
['', 'test'].each {sourceSetName -> ['', 'test'].each {sourceSetName ->
@@ -19,7 +24,6 @@ allprojects {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junitJupiterVersion testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junitJupiterVersion
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitJupiterVersion testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitJupiterVersion
} }
} }
dependencies { dependencies {
@@ -27,7 +31,7 @@ dependencies {
} }
compileJava { compileJava {
options.compilerArgs << '--release' << '8' options.release = 8
} }
jar { jar {
@@ -40,5 +44,5 @@ jar {
wrapper { wrapper {
distributionType = Wrapper.DistributionType.BIN distributionType = Wrapper.DistributionType.BIN
gradleVersion = "6.8.2" gradleVersion = "7.0"
} }

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists