Gradle publishing use rsync instead of scp
This commit is contained in:
parent
c43fa6b4d9
commit
1bd4d572b4
|
@ -52,8 +52,8 @@ public abstract class PublishDescriptorTask extends DefaultTask {
|
|||
final String jsonPath = jsonFile.get().getAsFile().getAbsolutePath();
|
||||
|
||||
getProject().exec( (exec) -> {
|
||||
exec.executable( "scp" );
|
||||
exec.args( jsonPath, url );
|
||||
exec.executable( "rsync" );
|
||||
exec.args( "--port=2222", "-z", jsonPath, url );
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue