Skip to content

[UserStory] Add packaging task to the product build process #153

@vlazosar

Description

@vlazosar

User Story

Essential components

  • Title describes the story
  • Stakeholder type is identified
  • Outcome is described
  • Rationale is explicit
  • Acceptance criteria are verifiable and from the perspective of the stakeholder

Story

As a maintainer
I want a task within the Gradle build that packages the product for distribution
so that when run, it builds the product jar file (if necessary), copies it to an identified location in the repository, and renames it in accordance with the product specifications.

Acceptance Criteria

  • Rule 1: The identified location is the root directory of the repository.
  • Rule 2: The product jar filename is QualityTools.jar
  • Rule 3: The build task is named package and invoked as gradle package
  • Rule 4: The package task must not be invoked by the build task or other development tasks

Scenario 1

Given a copy of the project repository
when I run the build command gradlew package
then the product jar is built and copied to the top level of the repository as /QualityTools.jar.

Scenario 2

Given a copy of the project repository with an up-to-date build of the product jar
when I run the build command gradlew package
then the product jar is copied to the top level of the repository as /QualityTools.jar.

Supporting Information

See gradle documentation for help creating tasks.
https://docs.gradle.org/current/userguide/tutorial_using_tasks.html

Dependencies

Dependents

#43

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions