Skip to content

Commit

Permalink
Migrate to gradle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Dec 6, 2023
1 parent 922f956 commit 6b70cce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
*/

plugins {
id "ca.coglinc.javacc" version "2.3.1"
id "org.sonarqube" version "3.0"
id "ca.coglinc.javacc" version "2.4.0"
id "org.sonarqube" version "4.0.0.2929"
}

// Apply the java plugin to add support for Java
Expand Down Expand Up @@ -56,18 +56,18 @@ javadoc {

task sourcesJar(type: Jar) {
from mainSource, testSource
classifier = 'sources'
archiveClassifier = 'sources'
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
// options.encoding = 'UTF-8'
}

jacocoTestReport {
reports {
xml.enabled true
xml.required = true
}
}

Expand Down Expand Up @@ -168,10 +168,10 @@ repositories {

// In this section you declare the dependencies for your production and test code
dependencies {
compile 'ch.poole:OpeningHoursParser:0.27.0'
implementation 'ch.poole:OpeningHoursParser:0.27.1'
compileOnly 'org.jetbrains:annotations:19.0.0'
testCompileOnly 'org.jetbrains:annotations:19.0.0'
testCompile 'junit:junit:4.12'
testImplementation 'junit:junit:4.12'
}


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 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 6b70cce

Please sign in to comment.