Skip to content

Commit

Permalink
security update logback and other dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ancho committed Jan 2, 2022
1 parent 6461eba commit fe42958
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 34 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import java.time.format.DateTimeFormatter

plugins {
id "io.github.gradle-nexus.publish-plugin" version "1.0.0"
id 'com.github.ben-manes.versions' version '0.38.0'
id "io.github.gradle-nexus.publish-plugin" version "$nexusPublishPluginVersion"
id 'com.github.ben-manes.versions' version "$versionsPluginVersion"
id 'org.ajoberstar.grgit' version "$grgitVersion"
id "eclipse"
id "idea"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
testImplementation "org.assertj:assertj-core:$assertjCoreVersion"
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "org.mockito:mockito-junit-jupiter:$mockitoVersion"
testImplementation 'org.itsallcode:junit5-system-extensions:1.1.0'
testImplementation "org.itsallcode:junit5-system-extensions:$junit5SystemExtVersion"
}

tasks.withType(JavaCompile) {
Expand Down Expand Up @@ -91,7 +91,7 @@ jacocoTestReport.dependsOn test

tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
xml.required.set false
html.required.set true
}
}
55 changes: 31 additions & 24 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,55 @@ issues = https://github.com/jbake-org/jbake/issues
vcs = https://github.com/jbake-org/jbake/

# runtime dependencies
asciidoctorjVersion = 2.4.3
asciidoctorjDiagramVersion = 2.1.0
asciidoctorjVersion = 2.5.2
asciidoctorjDiagramVersion = 2.2.1
args4jVersion = 2.33
commonsIoVersion = 2.8.0
commonsIoVersion = 2.11.0
commonsConfigurationVersion = 2.7
commonsBeanutilsVersion = 1.9.4
commonsLangVersion = 3.12.0
commonsVfs2Version = 2.7.0
commonsVfs2Version = 2.9.0
freemarkerVersion = 2.3.31
flexmarkVersion = 0.62.2
groovyVersion = 3.0.7
jettyServerVersion = 9.4.36.v20210114
groovyVersion = 3.0.9
jettyServerVersion = 9.4.44.v20210927
jsonSimpleVersion = 1.1.1
jade4jVersion = 1.3.2
jsoupVersion = 1.13.1
jgitVersion = 5.10.0.202012080955-r
logbackVersion = 1.2.3
orientDbVersion = 3.0.37
jsoupVersion = 1.14.3
jgitVersion = 6.0.0.202111291000-r
logbackVersion = 1.2.10
orientDbVersion = 3.0.41
pebbleVersion = 3.1.5
slf4jVersion = 1.7.30
snakeYamlVersion = 1.28
thymeleafVersion = 3.0.12.RELEASE
picocli = 4.6.1
slf4jVersion = 1.7.32
snakeYamlVersion = 1.30
thymeleafVersion = 3.0.14.RELEASE
picocli = 4.6.2


# testing dependencies
junit4Version = 4.13.2
junit5Version = 5.7.1
junitPioneer = 1.3.8
assertjCoreVersion = 3.19.0
mockitoVersion = 3.8.0
junit5Version = 5.8.2
junit5SystemExtVersion = 1.2.0
junitPioneer = 1.5.0
assertjCoreVersion = 3.21.0
mockitoVersion = 4.2.0

# build dependencies
jacocoVersion = 0.8.6
grgitVersion = 4.1.0
jacocoVersion = 0.8.7
grgitVersion = 4.1.1
nexusPublishPluginVersion = 1.1.0
versionsPluginVersion = 0.40.0
sdkmanVersion = 3.0.0
githubReleaseVersion = 2.2.12
optionalBaseVersion = 7.0.0

# jbake-maven-plugin dependencies
mavenVersion = 3.8.4
mavenAnnotationsVersion = 3.6.2
sparkVersion = 2.9.3

org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configureondemand = true
org.gradle.vfs.watch = true

# jbake-maven-plugin dependencies
mavenVersion = 3.8.1
mavenAnnotationsVersion = 3.6.2
sparkVersion = 2.9.3
2 changes: 1 addition & 1 deletion gradle/github-releases.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rootProject.ext {
}

afterEvaluate {
def name = project(':jbake-dist').tasks.getByName("distZip").archiveName
def name = project(':jbake-dist').tasks.getByName("distZip").archiveFileName.getOrNull()
def files = project(':jbake-dist').tasks.getByName("distZip").outputs.files.files
if (!project.hasProperty('skipSigning')) {
def signatureFile = project(':jbake-dist').tasks.getByName("signArchives").outputs.files.files.find { it.name.contains(name) }
Expand Down
2 changes: 1 addition & 1 deletion jbake-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.time.format.DateTimeFormatter
plugins {
id "org.jbake.convention.java-common"
id 'java-library'
id 'nebula.optional-base' version '3.0.3'
id 'nebula.optional-base' version "$optionalBaseVersion"
}

apply from: "$rootDir/gradle/maven-publishing.gradle"
Expand Down
2 changes: 1 addition & 1 deletion jbake-core/src/main/java/org/jbake/app/Asset.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private void copyFile(File asset, File targetFolder) {
try {
FileUtils.copyFile(asset, targetFolder);
LOGGER.info("Copying [{}]... done!", asset.getPath());
} catch (IOException e) {
} catch (IOException|IllegalArgumentException e) {
LOGGER.error("Copying [{}]... failed!", asset.getPath(), e);
errors.add(e);
}
Expand Down
4 changes: 2 additions & 2 deletions jbake-dist/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "io.sdkman.vendors" version "2.0.0"
id "com.github.breadmoirai.github-release" version "2.2.12"
id "io.sdkman.vendors" version "$sdkmanVersion"
id "com.github.breadmoirai.github-release" version "$githubReleaseVersion"
id "org.jbake.convention.java-common"
id 'application'
}
Expand Down

0 comments on commit fe42958

Please sign in to comment.