Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbl committed Jul 16, 2023
1 parent 25a5790 commit 56fa576
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
26 changes: 11 additions & 15 deletions generator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

plugins {
id 'org.sonarqube' version '3.3'
id 'org.sonarqube' version '4.2.1.3168'
id 'java-library'
id 'maven-publish'
id 'signing'
Expand Down Expand Up @@ -41,10 +41,8 @@ jar {
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
reports {
junitXml.required = false
html.required = true
}
reports.junitXml.required = false
reports.html.required = true
}

javadoc {
Expand Down Expand Up @@ -111,19 +109,17 @@ signing {
sign publishing.publications.mavenJava
}

sonarqube {
sonar {
properties {
property 'sonar.projectName', 'Swiss QR Bill Generator (Java)'
}
}

jacocoTestReport {
dependsOn test
reports {
xml.required = true
csv.required = false
html.required = false
}
reports.xml.required = true
reports.csv.required = false
reports.html.required = false
}

project.tasks["sonarqube"].dependsOn "jacocoTestReport"
Expand All @@ -133,9 +129,9 @@ tasks.withType(JavaCompile) {
}

dependencies {
api 'org.apache.pdfbox:pdfbox:2.0.26'
api 'org.apache.pdfbox:pdfbox:2.0.29'
implementation 'io.nayuki:qrcodegen:1.8.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public abstract class AbstractCanvas implements Canvas {
*/
protected static final double MM_TO_PT = 72 / 25.4;

/**
* Font metrics information.
* <p>
* Available once {@link #setupFontMetrics(String)} has been called.
* </p>
*/
protected FontMetrics fontMetrics;

/**
Expand Down

0 comments on commit 56fa576

Please sign in to comment.