Tang Cheng | 91ca277 | 2019-12-16 08:59:52 +0800 | [diff] [blame] | 1 | publishing { |
2 | repositories { | ||||
3 | maven { | ||||
4 | // change URLs to point to your repos, e.g. http://my.org/repo | ||||
5 | def releasesRepoUrl = "http://ykt-nx.supwisdom.com/repository/ecard-repo/" | ||||
6 | def snapshotsRepoUrl = "http://ykt-nx.supwisdom.com/repository/ecard-repo/snapshot/" | ||||
7 | url = version.endsWith('dirty') ? snapshotsRepoUrl : releasesRepoUrl | ||||
8 | credentials(PasswordCredentials) { | ||||
9 | username = nxUser | ||||
10 | password = nxPassword | ||||
11 | } | ||||
12 | } | ||||
13 | } | ||||
14 | } |