Skip to content

Commit

Permalink
chore: add java21 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Vovchyk committed Sep 25, 2024
1 parent 39540e8 commit 57daa3e
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 244 deletions.
17 changes: 9 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.util.jar.JarOutputStream
plugins {
id 'application'
id "jacoco"
id "org.sonarqube" version "2.7.1"
id "org.sonarqube" version "5.1.0.4882"
}

def config = new ConfigSlurper().parse(new File("$projectDir/src/main/resources/version.properties").toURI().toURL())
Expand Down Expand Up @@ -70,9 +70,10 @@ ext {
jacksonDatabindVersion = '2.15.4'
typesafeVersion = '1.4.2'
logbackVersion = '1.2.11'
junitVersion = '5.8.1'
junitSuiteVersion = '1.9.0'
mockitoVersion = '4.6.1'
junitVersion = '5.10.3'
junitSuiteVersion = '1.10.3'
mockitoInlineVer = '5.2.0'
mockitoJupiterVer = '5.12.0'
rskjcoreVersion = '6.4.0-SNAPSHOT'
}

Expand All @@ -95,8 +96,8 @@ dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}"
testImplementation "org.junit.platform:junit-platform-suite:${junitSuiteVersion}"
testImplementation "org.mockito:mockito-inline:${mockitoVersion}"
testImplementation "org.mockito:mockito-junit-jupiter:${mockitoVersion}"
testImplementation "org.mockito:mockito-inline:${mockitoInlineVer}"
testImplementation "org.mockito:mockito-junit-jupiter:${mockitoJupiterVer}"
}

javadoc {
Expand All @@ -107,12 +108,12 @@ javadoc {
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar) {
classifier = "javadoc"
archiveClassifier = 'javadoc'
from javadoc
}

Expand Down
Loading

0 comments on commit 57daa3e

Please sign in to comment.