Skip to content

Commit 607de55

Browse files
committed
fix(gradle): Improve gradle error logging
1 parent 62ae510 commit 607de55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builders/gradle/gradle.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (builder *GradleBuilder) Analyze(m module.Module, allowUnresolved bool) ([]
7676
},
7777
})
7878
if len(dependenciesOutput) == 0 || err != nil {
79-
return nil, fmt.Errorf("could not run `gradle task %s:dependencies`", taskName)
79+
return nil, fmt.Errorf("could not run `gradle %s -q --configuration=%s --offline -a`", taskName, taskConfiguration)
8080
}
8181

8282
var imports []builderutil.Imported

0 commit comments

Comments
 (0)