publishing { | |
repositories { | |
maven { | |
// change URLs to point to your repos, e.g. http://my.org/repo | |
def releasesRepoUrl = "http://ykt-nx.supwisdom.com/repository/ecard-repo/" | |
def snapshotsRepoUrl = "http://ykt-nx.supwisdom.com/repository/ecard-repo/snapshot/" | |
url = version.endsWith('dirty') ? snapshotsRepoUrl : releasesRepoUrl | |
credentials(PasswordCredentials) { | |
username = nxUser | |
password = nxPassword | |
} | |
} | |
} | |
} |