Skip to content

Commit 18303fc

Browse files
Merge branch 'master' into dependabot/gradle/test-project-groovy/org.spockframework-spock-core-2.4-groovy-5.0
2 parents 4ded5aa + 35a8b88 commit 18303fc

4 files changed

Lines changed: 26 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Git checkout
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@v6.0.2
1616
- name: Set up JDK 17
1717
uses: actions/setup-java@v5
1818
with:

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
2323
steps:
2424
- name: Git checkout
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@v6.0.2
2626
- name: Set up JDK 17
2727
uses: actions/setup-java@v5
2828
with:
@@ -40,8 +40,8 @@ jobs:
4040
permissions:
4141
contents: write
4242
steps:
43-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v3.0.0
43+
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v3.0.0
4444
- name: Create GitHut Release
45-
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v0.1.15
45+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v0.1.15
4646
with:
4747
generate_release_notes: true

build.gradle

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
import org.gradle.api.attributes.java.TargetJvmVersion
2+
13
plugins {
24
id 'eclipse'
35
id 'java-gradle-plugin'
46
id 'maven-publish' // used for publishing to local maven repository
5-
id 'com.gradle.plugin-publish' version '2.0.0'
6-
id 'com.gradleup.shadow' version '9.2.2'
7-
id 'com.github.ben-manes.versions' version '0.53.0'
7+
id 'com.gradle.plugin-publish' version '2.1.1'
8+
id 'com.gradleup.shadow' version '9.4.1'
9+
id 'com.github.ben-manes.versions' version '0.54.0'
810
}
911

1012
develocity {
@@ -31,12 +33,12 @@ configurations {
3133
compile.extendsFrom plugin
3234
}
3335

34-
def jUnitVersion = '5.14.0'
36+
def jUnitVersion = '6.0.1'
3537

3638
dependencies {
3739
implementation gradleApi()
3840
implementation 'org.jooq:joor:0.9.15'
39-
plugin 'com.github.javaparser:javaparser-symbol-solver-core:3.27.1'
41+
plugin 'com.github.javaparser:javaparser-symbol-solver-core:3.28.0'
4042

4143
testImplementation gradleTestKit()
4244
testImplementation 'com.google.guava:guava-base:r03'
@@ -72,7 +74,21 @@ configurations {
7274
}
7375
}
7476

77+
configurations.testCompileClasspath {
78+
attributes {
79+
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
80+
}
81+
}
82+
configurations.testRuntimeClasspath {
83+
attributes {
84+
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
85+
}
86+
}
87+
7588
test {
89+
javaLauncher = javaToolchains.launcherFor {
90+
languageVersion = JavaLanguageVersion.of(17)
91+
}
7692
useJUnitPlatform()
7793

7894
testLogging {

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "com.gradle.develocity" version "4.2.2"
2+
id "com.gradle.develocity" version "4.4.1"
33
}
44

55
rootProject.name = 'moduleplugin'

0 commit comments

Comments
 (0)