Skip to content

Commit f9b6def

Browse files
authored
Merge pull request #1145 from apache/release-dropdown
Reuse CreateReleaseDropDownTask from grails-docs-core
2 parents c2adfa6 + dd48b4d commit f9b6def

File tree

14 files changed

+41
-399
lines changed

14 files changed

+41
-399
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
steps:
7676
- name: "📥 Checkout repository"
7777
uses: actions/checkout@v4
78+
with:
79+
fetch-tags: true
7880
- name: "☕️ Setup JDK"
7981
uses: actions/setup-java@v4
8082
with:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ jobs:
218218
with:
219219
token: ${{ secrets.GITHUB_TOKEN }}
220220
ref: v${{ needs.publish.outputs.release_version }}
221+
fetch-depth: 1
222+
fetch-tags: true
221223
- name: "☕️ Setup JDK"
222224
uses: actions/setup-java@v4
223225
with:

buildSrc/build.gradle

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,5 @@ dependencies {
5656
implementation 'org.apache.grails:grails-gradle-plugins'
5757
implementation "org.nosphere.apache.rat:org.nosphere.apache.rat.gradle.plugin:${versions.get('ratVersion')}"
5858
implementation "org.gradle.crypto.checksum:org.gradle.crypto.checksum.gradle.plugin:${versions.get('gradleCryptoChecksumVersion')}"
59-
60-
testImplementation 'org.spockframework:spock-core', {
61-
exclude(group: 'org.codehaus.groovy') // Use Gradle provided version because: Could not resolve org.codehaus.groovy:groovy:3.0.12
62-
}
63-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher', {
64-
// In Gradle 9, this needs to be declared
65-
// https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
66-
}
67-
}
68-
69-
tasks.withType(Test).configureEach {
70-
onlyIf {
71-
!project.hasProperty('skipTests')
72-
}
73-
74-
useJUnitPlatform()
59+
implementation 'org.apache.grails:grails-docs-core'
7560
}

buildSrc/src/main/groovy/grails/plugin/springsecurity/CreateReleaseDropDownTask.groovy

Lines changed: 0 additions & 115 deletions
This file was deleted.

buildSrc/src/main/groovy/grails/plugin/springsecurity/Snapshot.groovy

Lines changed: 0 additions & 79 deletions
This file was deleted.

buildSrc/src/main/groovy/grails/plugin/springsecurity/SoftwareVersion.groovy

Lines changed: 0 additions & 114 deletions
This file was deleted.

buildSrc/src/test/groovy/grails/plugin/springsecurity/SoftwareVersionSpec.groovy

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)