Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update gradle to version 8.6 #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}

Expand All @@ -29,7 +28,6 @@ repositories {
mavenLocal()
gradlePluginPortal()
mavenCentral()
jcenter()
}

apply plugin: "java"
Expand All @@ -41,8 +39,10 @@ description = """
This project aims to provide the facility to easily implement JSON-RPC for the java programming language.
"""

sourceCompatibility = 1.8
targetCompatibility = 1.8
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

compileJava {
options.encoding = 'UTF-8'
Expand Down Expand Up @@ -73,17 +73,21 @@ jacoco {
jacocoTestReport {
dependsOn test
reports {
xml.enabled true
csv.enabled true
html.enabled true
xml.required = true
csv.required = true
html.required = true
}
}

java {
registerFeature('servletSupport') {
// TODO: create a separate sourceSet for this library feature.
// Gradle is planning to break this in v9.0
usingSourceSet(sourceSets.main)
}
registerFeature('springSupport') {
// TODO: create a separate sourceSet for this library feature.
// Gradle is planning to break this in v9.0
usingSourceSet(sourceSets.main)
}
}
Expand Down Expand Up @@ -125,8 +129,8 @@ dependencies {
testImplementation("org.eclipse.jetty:jetty-servlet:${jettyVersion}") {
exclude module: 'org.eclipse.jetty.orbit'
}
testRuntime 'org.apache.logging.log4j:log4j-slf4j-impl:2.19.0'
testRuntime 'org.apache.logging.log4j:log4j-core:2.19.0'
testRuntimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.19.0'
testRuntimeOnly 'org.apache.logging.log4j:log4j-core:2.19.0'

}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Mon Oct 07 19:30:35 PDT 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down
Loading