diff --git a/ytt/detect.go b/ytt/detect.go index 30a5bc7..dd27d1f 100644 --- a/ytt/detect.go +++ b/ytt/detect.go @@ -38,6 +38,9 @@ func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error Provides: []libcnb.BuildPlanProvide{ {Name: PlanEntryWatch}, }, + Requires: []libcnb.BuildPlanRequire{ + {Name: PlanEntryWatch}, + }, }, }, }, nil diff --git a/ytt/detect_test.go b/ytt/detect_test.go index 91d7c1d..50f363b 100644 --- a/ytt/detect_test.go +++ b/ytt/detect_test.go @@ -40,6 +40,9 @@ func testDetect(t *testing.T, context spec.G, it spec.S) { Provides: []libcnb.BuildPlanProvide{ {Name: "ytt"}, }, + Requires: []libcnb.BuildPlanRequire{ + {Name: "ytt"}, + }, }, }, }))