Skip to content

Commit

Permalink
include full path
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Aug 30, 2023
1 parent 19d6658 commit 1afde9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class GradleInvocationMojo : AbstractMojo() {

if (execute.exitValue != 0) {
if (log) {
throw MojoExecutionException("gradle run failed. check logs in build/graven/")
throw MojoExecutionException("gradle run failed. check logs in ${File(project.basedir, "build/graven").absolutePath}")
} else {
throw MojoExecutionException(
"gradle run failed. enabling logging to see the gradle output."
Expand Down
2 changes: 0 additions & 2 deletions mojo/src/main/kotlin/com/antwerkz/build/ReplacementMojo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class ReplacementMojo : AbstractMojo() {

@Parameter var replacements: List<RegexReplacement> = listOf()

@Parameter var mappedProperties: List<MappedProperty> = listOf()

@Parameter(defaultValue = "build.gradle,build.gradle.kts,gradle.properties,settings.gradle")
lateinit var files: String

Expand Down

0 comments on commit 1afde9f

Please sign in to comment.