Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configurations {
- deployerJars
- }
- dependencies {
- ...
- deployerJars 'org.apache.maven.wagon:wagon-ssh:2.2+'
- }
- uploadArchives {
- repositories {
- mavenDeployer {
- configuration = configurations.deployerJars
- repository(url: "scp://{server}/var/www/maven") {
- authentication(userName: "myUsername", password: "myPassword")
- }
- pom.version = '0.1.0'
- pom.groupId = 'com.mycompany'
- pom.artifactId = 'mylib'
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement