diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index efcdf4f..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(git checkout:*)", - "Bash(./gradlew clean:*)", - "Bash(git add:*)", - "Bash(./gradlew publishToMavenLocal:*)", - "Bash(gradle build:*)", - "Bash(unzip:*)", - "Bash(gradle clean:*)", - "Bash(git:*)", - "Bash(GIT_SEQUENCE_EDITOR=\"/tmp/reword_all.sh\" GIT_EDITOR=\"/tmp/strip_coauthor.sh\" git:*)", - "Bash(gh pr:*)", - "Bash(gh issue:*)", - "Bash(ls:*)", - "WebFetch(domain:github.com)" - ] - } -} diff --git a/.gitignore b/.gitignore index bef95b8..afad91f 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,6 @@ bin/ ### Mac OS ### .DS_Store + +### Claude Code ### +.claude/ diff --git a/README.adoc b/README.adoc index 139bdf6..d4b8cc2 100644 --- a/README.adoc +++ b/README.adoc @@ -4,7 +4,7 @@ image:https://img.shields.io/badge/License-MIT-blue.svg[License,link=LICENSE] -Gradle plugin for assembling and attaching reqstool ZIP artifacts. This plugin mimics the behavior of the link:https://github.com/Luftfartsverket/reqstool-java-maven-plugin[reqstool-java-maven-plugin]. +Gradle plugin for assembling and attaching reqstool ZIP artifacts. toc::[] diff --git a/build.gradle b/build.gradle index 78ee4a2..3366f05 100644 --- a/build.gradle +++ b/build.gradle @@ -56,3 +56,19 @@ javadoc { test { useJUnitPlatform() } + +publishing { + publications { + withType(MavenPublication) { + pom { + developers { + developer { + name = 'Reqstool Contributors' + organization = 'reqstool' + organizationUrl = 'https://github.com/reqstool' + } + } + } + } + } +} diff --git a/src/main/java/io/github/reqstool/gradle/RequirementsToolTask.java b/src/main/java/io/github/reqstool/gradle/RequirementsToolTask.java index 8eb1488..fcfc457 100644 --- a/src/main/java/io/github/reqstool/gradle/RequirementsToolTask.java +++ b/src/main/java/io/github/reqstool/gradle/RequirementsToolTask.java @@ -84,10 +84,10 @@ public class RequirementsToolTask extends DefaultTask { public static final String XML_TESTS = "tests"; /** YAML language server schema hint for annotations files. */ - protected static final String YAML_LANG_SERVER_SCHEMA_ANNOTATIONS = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json"; + protected static final String YAML_LANG_SERVER_SCHEMA_ANNOTATIONS = "# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json"; /** YAML language server schema hint for reqstool config files. */ - protected static final String YAML_LANG_SERVER_SCHEMA_CONFIG = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/reqstool_config.schema.json"; + protected static final String YAML_LANG_SERVER_SCHEMA_CONFIG = "# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/reqstool_config.schema.json"; private static final ObjectMapper yamlMapper; diff --git a/src/test/resources/yml/requirements_annotations.yml b/src/test/resources/yml/requirements_annotations.yml index 046d120..70de55c 100644 --- a/src/test/resources/yml/requirements_annotations.yml +++ b/src/test/resources/yml/requirements_annotations.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json --- requirement_annotations: implementations: diff --git a/src/test/resources/yml/svcs_annotations.yml b/src/test/resources/yml/svcs_annotations.yml index 5732c96..e102df6 100644 --- a/src/test/resources/yml/svcs_annotations.yml +++ b/src/test/resources/yml/svcs_annotations.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/Luftfartsverket/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/reqstool/reqstool-client/main/src/reqstool/resources/schemas/v1/annotations.schema.json --- requirement_annotations: tests: