Environment Variables for building and publishing KMM libraries
I am trying to move some of my Android/KMM libraries I have over to use Space and building them with Space's Jobs. One question I have is, is there a way to set Environment variables for things like private keys/passwords for my maven repo?
For example I would have my build.gradle setup like this
repositories{
maven{
url = uri("myUri")
credentials{
username = System.getenv("USERNAME")
password = System.getenv("PASSWORD")
}
}
}
These projects are open source but I don't want the credentials to be committed where everyone can see them.
Also what container would be used for the jobs to build KMM projects?
Please sign in to leave a comment.