Skip to content

Commit 68f0477

Browse files
Copilotsbglasius
andcommitted
fix: correct plugin test task path and load project metadata in docs build
Agent-Logs-Url: https://github.com/grails-plugins/grails-plugin-template/sessions/35ee8c57-f1b3-4108-844b-e65dca0b8585 Co-authored-by: sbglasius <625868+sbglasius@users.noreply.github.com>
1 parent 5a17f7f commit 68f0477

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.skills/repository-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ These are available in all subprojects as project properties (`projectVersion`,
182182
./gradlew build
183183

184184
# Plugin unit tests only
185-
./gradlew :export:test
185+
./gradlew :grails-plugin-template:test
186186

187187
# Example app integration tests
188188
./gradlew :app1:integrationTest

docs/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import org.asciidoctor.gradle.jvm.AsciidoctorTask
22

33
plugins {
44
id 'org.asciidoctor.jvm.convert'
5+
id 'config.project-metadata'
56
}
67

78
version = projectVersion
@@ -17,7 +18,7 @@ def asciidoctorAttributes = [
1718
idprefix : '',
1819
idseparator : '-',
1920
version : project.version,
20-
projectUrl : "https://github.com/${rootProject.findProperty('githubOrg')}/${rootProject.findProperty('githubProject')}",
21+
projectUrl : "https://github.com/${githubOrg}/${githubProject}",
2122
sourcedir : "${rootProject.allprojects.find { it.name == 'grails-plugin-template' }.projectDir}/src/main/groovy",
2223
grailsVersion : grailsVersion
2324
]

0 commit comments

Comments
 (0)