Skip to content

Commit 38e8cba

Browse files
committed
Use idiomatic string interpolation in build file
1 parent 4ba32d6 commit 38e8cba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎exercises/build.gradle‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ subprojects { project ->
99
java.srcDirs = ["src/example/java"]
1010
}
1111
project["compileJava"].doFirst { compileTask ->
12-
println " (source = " + compileTask.source.asPath + ")"
12+
println " (source = ${compileTask.source.asPath})"
1313
}
1414

1515
starterSource {
1616
java.srcDirs = ["src/main/java"]
1717
}
1818
project["compileStarterSourceJava"].doFirst { compileTask ->
19-
println " (source = " + compileTask.source.asPath + ")"
19+
println " (source = ${compileTask.source.asPath})"
2020
}
2121

2222
// In lieu of being able to disable @Ignore in JUnit tests, we filter
@@ -25,7 +25,7 @@ subprojects { project ->
2525
java.srcDirs = ["build/gen/test/java"]
2626
}
2727
project["compileTestJava"].doFirst { compileTask ->
28-
println " (source = " + compileTask.source.asPath + ")"
28+
println " (source = ${compileTask.source.asPath})"
2929
}
3030
}
3131

0 commit comments

Comments
 (0)