Skip to content

Commit 87d2481

Browse files
Added additional diagnostic output to show events
1 parent ec9870f commit 87d2481

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ group = "cloudshift.repro"
2828
- ...and then afterValueObtained() is fired, which ENABLES input tracking, just in time to drop into the obtain()
2929
method of our custom ValueSource
3030
31+
Visualized with debug output:
32+
33+
beforeValueObtained() // input tracking turned off
34+
beforeValueObtained() // input tracking turned off
35+
afterValueObtained() // input tracking turned on
36+
valueObtained(): class org.gradle.api.internal.provider.sources.EnvironmentVariableValueSource org.gradle.api.internal.provider.sources.EnvironmentVariableValueSource$Inject@46d4f344
37+
38+
// whoops; inside our ValueSource with input tracking turned on
39+
In value source
40+
Test file @ /Users/chrislee/.cloudshift/test.properties
41+
42+
afterValueObtained() // input tracking turned on
43+
valueObtained(): class Build_gradle$MyValueSource Build_gradle$MyValueSource$Inject@6383cdd1
44+
3145
Relevant code is below.
3246
3347
*/

0 commit comments

Comments
 (0)