Ensure that generated RAML file is generated in build rather than src directory

Description

All files generated by gradle build process should be created in build. Change the gradle task to create it in the build/resources/main folder, not src/main/resources.

Acceptance Criteria:

  • The files generated by RAML gradle task go under /build and not /src/*.

  • The Swagger UI still works locally and on test.openlmis.org.

  • The static API documentation still works as a build artifact and is pushed to ReadTheDocs.

  • The .gitignore files are updated, if needed, since we no longer need to .gitignore stuff below /src/ (we might not need ./src/main/resources/static/generated/.gitignore or need that 'generated' folder any more).

Assignee

Paweł Gesek

Reporter

Chongsun Ahn

Labels

None

Story Points

5

Time tracking

46h 30m

Sprint

None

Fix versions

Priority

Major
Configure