Fixed serialization issue with gradle TarUpload task

This commit is contained in:
Luke Taylor 2010-07-07 15:19:24 +01:00
parent ae7fbf69e1
commit 6894544122
1 changed files with 3 additions and 2 deletions

View File

@ -10,9 +10,9 @@ import org.gradle.api.tasks.bundling.Compression;
class TarUpload extends Tar {
@Input
String remoteDir
@Input
Login login
@Input
String host
TarUpload() {
compression = Compression.BZIP2
@ -38,6 +38,7 @@ class TarUpload extends Tar {
void setLogin(Login login) {
dependsOn(login)
this.login = login
this.host = login.host
}
}