Skip to content

Commit 24cab2c

Browse files
committed
chore(build): Bump test-only deps, use lazy task realization in a few places
1 parent 4e1f67a commit 24cab2c

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

build.gradle

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import java.time.Duration
77

88
plugins {
99
id 'jacoco'
10-
id 'com.gradleup.shadow' version '8.3.0'
10+
id 'com.gradleup.shadow' version '8.3.8'
1111
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
1212
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
1313
}
@@ -208,12 +208,7 @@ testFixturesJar {
208208
destinationDirectory = file("$rootDir/build/extralibs")
209209
}
210210

211-
task sourceJar(type:Jar) {
212-
archiveClassifier = "sources"
213-
from sourceSets.main.allSource
214-
}
215-
216-
tasks.withType(Javadoc) {
211+
tasks.withType(Javadoc).configureEach {
217212
failOnError false
218213
include 'org/jetbrains/java/decompiler/api/**'
219214
include 'org/jetbrains/java/decompiler/main/extern/**'
@@ -227,7 +222,7 @@ java {
227222
withJavadocJar()
228223
}
229224

230-
tasks.withType(Jar) {
225+
tasks.withType(Jar).configureEach {
231226
reproducibleFileOrder = true
232227
preserveFileTimestamps = false
233228
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ kotlin.stdlib.default.dependency = false
22

33
# Dependencies for Gradle
44
groovy=3.0.9
5-
hamcrest=2.2
6-
junit_bom=5.9.2
5+
hamcrest=3.0
6+
junit_bom=5.13.4
77
scala_library=3.2.2

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pluginManagement {
66
}
77

88
plugins {
9-
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
9+
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
1010
}
1111

1212
rootProject.name = 'vineflower'

0 commit comments

Comments
 (0)