This commit is contained in:
Vera-Firefly 2023-09-02 17:52:30 +08:00 committed by GitHub
parent c949c6a5e8
commit c2f4b4469a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 11 deletions

View File

@ -106,14 +106,4 @@ dependencies {
ssh.settings {
knownHosts = allowAnyHosts
}
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")
}
}
}