You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.gradle.kts
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,20 @@ group = "cloudshift.repro"
28
28
- ...and then afterValueObtained() is fired, which ENABLES input tracking, just in time to drop into the obtain()
29
29
method of our custom ValueSource
30
30
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
0 commit comments