Update build.gradle
This commit is contained in:
parent
a145316fd5
commit
0b7e027883
|
@ -110,10 +110,15 @@ ssh.settings {
|
|||
remotes {
|
||||
Properties prop = new Properties()
|
||||
prop.load(new FileInputStream("${rootDir}/local.properties"))
|
||||
debugServer {
|
||||
host = prop.getProperty("sftp.host")
|
||||
port = prop.getProperty("sftp.port").toInteger()
|
||||
user = prop.getProperty("sftp.username")
|
||||
password = prop.getProperty("sftp.password")
|
||||
try {
|
||||
debugServer {
|
||||
host = prop.getProperty("sftp.host")
|
||||
port = prop.getProperty("sftp.port").toInteger()
|
||||
user = prop.getProperty("sftp.username")
|
||||
password = prop.getProperty("sftp.password")
|
||||
}
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue