How to add lib to Jira server libs during each atlas-clean & atlas-debug?

How to add lib to Jira server libs during each atlas-clean & atlas-debug?
I tried add it to libraryArtifacts, but after build lib is absent.

cc @acalantog