Skip to content

Commit 6de393b

Browse files
author
Krystian Panek
authored
Update README.MD
1 parent 16e4d95 commit 6de393b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.MD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@ environment {
226226

227227
Result of running task `environmentHosts` will be an list of IP-domain pairs should should be appended to OS-specific file (e.g /etc/hosts on Unix). When using Docker Toolbox on Windows, IP may be different, as of it is using extra VM to run Docker and IP of that VM should be used instead of loopback IP (localhost / 127.0.0.1). Plugin is trying to make this difference transparent for build users.
228228

229+
Consider creating scripts which will run this task and amend output to OS-specific hosts file. See examples for:
230+
231+
* [Windows](https://github.com/Cognifide/gradle-aem-multi/blob/master/env/hosts.bat),
232+
* [Unix](https://github.com/Cognifide/gradle-aem-multi/blob/master/env/hosts).
233+
229234
## License
230235

231236
**Gradle Environment Plugin** is licensed under the [Apache License, Version 2.0 (the "License")](https://www.apache.org/licenses/LICENSE-2.0.txt)

0 commit comments

Comments
 (0)