Skip to content

Commit 3efdbfa

Browse files
committed
[F] Fix printCp at configuration phase
1 parent f70bc3d commit 3efdbfa

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
@@ -75,8 +75,10 @@ if (hasProperty('buildScan')) {
7575
}
7676
}
7777

78-
task printCp() {
79-
System.err.println sourceSets.main.runtimeClasspath.asPath;
78+
task printCp {
79+
doLast {
80+
System.err.println sourceSets.main.runtimeClasspath.asPath
81+
}
8082
}
8183

8284
test {

0 commit comments

Comments
 (0)