Automation: Local and non-Maven Central libraries

Is there a way to split the .space.kts file within a repository into multiple files, or publish and import a library of common step implementations to share across my repositories? Currently I have to define all my jobs in a single file and duplicate common jobs between repos, making it hard to maintain.

In this article the ability to import external libraries is talked about, with the caveat that

Currently, you can reference only libraries hosted on Maven Central.

Has this changed to allow import using the @file:Repository annotation from a Space Maven repository for example

1 comment

Thank you for your question!

Space doesn't support multiple .space.kts files yet, and there is no ETA available for this feature as well as for importing.

I apologize for the inconvenience. Please let me know if you have additional questions.

Margarita Kolotilova
The Drive to Develop

Please sign in to leave a comment.