Skip to content

Commit ce48d35

Browse files
Replace shortcut with doLast for task startemulator
1 parent d310251 commit ce48d35

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ ext.isCi = "true" == System.getenv("CI")
3131
if (isCi) {
3232
println 'Running on CI. Adding task to start emulator.'
3333

34-
task startEmulator << {
35-
"$rootDir/gradle/start-emulator.sh".execute().waitFor()
34+
task startEmulator {
35+
doLast {
36+
"$rootDir/gradle/start-emulator.sh".execute().waitFor()
37+
}
3638
}
3739

3840
subprojects {

0 commit comments

Comments
 (0)