Skip to content

Commit

Permalink
Merge pull request #66 from paketo-buildpacks/better-messages
Browse files Browse the repository at this point in the history
Improve error messages if we cannot find the build artifact
  • Loading branch information
Daniel Mikusa authored Apr 28, 2021
2 parents 85af434 + 4ef6a43 commit f17ffcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.15
require (
github.com/buildpacks/libcnb v1.21.0
github.com/onsi/gomega v1.11.0
github.com/paketo-buildpacks/libbs v1.8.0
github.com/paketo-buildpacks/libbs v1.8.1
github.com/paketo-buildpacks/libpak v1.51.0
github.com/sclevine/spec v1.4.0
)
1 change: 1 addition & 0 deletions gradle/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error) {
ConfigurationResolver: cr,
ModuleConfigurationKey: "BP_GRADLE_BUILT_MODULE",
InterestingFileDetector: libbs.JARInterestingFileDetector{},
AdditionalHelpMessage: "If this is unexpected, please try setting `rootProject.name` in `settings.gradle` or add a project.toml file and exclude the `build/` directory. For details see https://buildpacks.io/docs/app-developer-guide/using-project-descriptor/.",
}

a, err := b.ApplicationFactory.NewApplication(
Expand Down

0 comments on commit f17ffcd

Please sign in to comment.