I am very new to gradle, so forgive me please if this is a dump question.
I use github at the moment for version control and gradle for handling the deployment process to our intern library repository. Since there are some guys working on different parts of our library, I only want to publish the master branch to the maven repository.
If I now include all the publishing information in my build.gradle file, this information will be uploaded and put into every branch as well. Is there any more elegant way for handling this?
What is it that you are trying to achive? Only have publishing information on master or are you ok it being on all branches but you want to prevent others from publishing because publishing credentials will be not available for them?