diff --git a/sbt/distribution.go b/sbt/distribution.go index 0e41f52..c4f0adb 100644 --- a/sbt/distribution.go +++ b/sbt/distribution.go @@ -44,7 +44,6 @@ func (d Distribution) Contribute(layer libcnb.Layer) (libcnb.Layer, error) { return libcnb.Layer{}, fmt.Errorf("unable to expand SBT\n%w", err) } - layer.Build = true layer.Cache = true return layer, nil }) diff --git a/sbt/distribution_test.go b/sbt/distribution_test.go index 7dc93aa..0e8cc65 100644 --- a/sbt/distribution_test.go +++ b/sbt/distribution_test.go @@ -61,7 +61,6 @@ func testDistribution(t *testing.T, context spec.G, it spec.S) { layer, err = d.Contribute(layer) Expect(err).NotTo(HaveOccurred()) - Expect(layer.Build).To(BeTrue()) Expect(layer.Cache).To(BeTrue()) Expect(filepath.Join(layer.Path, "fixture-marker")).To(BeARegularFile()) })