We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b68d82 commit d9c814bCopy full SHA for d9c814b
src/main/kotlin/com/cognifide/gradle/environment/hosts/HostUpdater.kt
@@ -44,8 +44,9 @@ class HostUpdater(val common: CommonExtension) {
44
val dir = workDir.get().asFile.apply { mkdirs() }
45
46
val entriesFile = dir.resolve("hosts.txt").apply {
47
- logger.info("Generating hosts entries file: $this")
48
- writeText(hosts.joinToString(System.lineSeparator()) { it.text })
+ val entriesText = hosts.joinToString(System.lineSeparator()) { it.text }
+ logger.info("Generating hosts entries file '$this' with contents:\n$entriesText")
49
+ writeText(entriesText)
50
}
51
val updaterJar = dir.resolve("hosts.jar").apply {
52
logger.info("Providing hosts updater program: $this")
0 commit comments