From 1afde9f139eba6197010a9a5ac64338864d5001b Mon Sep 17 00:00:00 2001 From: evanchooly Date: Wed, 30 Aug 2023 14:05:03 -0400 Subject: [PATCH] include full path --- mojo/src/main/kotlin/com/antwerkz/build/GradleInvocationMojo.kt | 2 +- mojo/src/main/kotlin/com/antwerkz/build/ReplacementMojo.kt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mojo/src/main/kotlin/com/antwerkz/build/GradleInvocationMojo.kt b/mojo/src/main/kotlin/com/antwerkz/build/GradleInvocationMojo.kt index ef98ab4..1d04b2a 100644 --- a/mojo/src/main/kotlin/com/antwerkz/build/GradleInvocationMojo.kt +++ b/mojo/src/main/kotlin/com/antwerkz/build/GradleInvocationMojo.kt @@ -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." diff --git a/mojo/src/main/kotlin/com/antwerkz/build/ReplacementMojo.kt b/mojo/src/main/kotlin/com/antwerkz/build/ReplacementMojo.kt index 962e595..20e42f8 100644 --- a/mojo/src/main/kotlin/com/antwerkz/build/ReplacementMojo.kt +++ b/mojo/src/main/kotlin/com/antwerkz/build/ReplacementMojo.kt @@ -58,8 +58,6 @@ class ReplacementMojo : AbstractMojo() { @Parameter var replacements: List = listOf() - @Parameter var mappedProperties: List = listOf() - @Parameter(defaultValue = "build.gradle,build.gradle.kts,gradle.properties,settings.gradle") lateinit var files: String