fix build to not require AWS credentials
Original commit: elastic/x-pack-elasticsearch@74c7fb5c0f
This commit is contained in:
parent
14208f12d1
commit
19c1424984
|
@ -9,8 +9,14 @@ import java.nio.file.Files
|
|||
import java.nio.file.Paths
|
||||
import java.nio.file.StandardCopyOption
|
||||
|
||||
project.ext.awsAccessKey = AWS_ACCESS_KEY
|
||||
if (project.hasProperty("AWS_ACCESS_KEY")) {
|
||||
project.ext.awsAccessKey = AWS_ACCESS_KEY
|
||||
}
|
||||
|
||||
if (project.hasProperty("AWS_SECRET_KEY")) {
|
||||
project.ext.awsSecretKey = AWS_SECRET_KEY
|
||||
}
|
||||
|
||||
|
||||
boolean isWindows = OperatingSystem.current().isWindows()
|
||||
boolean isLinux = OperatingSystem.current().isLinux()
|
||||
|
|
Loading…
Reference in New Issue