File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
build-logic/convention/src/main/kotlin/com/autonomousapps/convention/tasks/metalava Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import org.gradle.api.file.RegularFileProperty
99import org.gradle.api.provider.Property
1010import org.gradle.api.tasks.*
1111import org.gradle.process.ExecOperations
12- import org.gradle.process.internal.ExecException
12+ import org.gradle.process.ProcessExecutionException
1313import org.gradle.workers.WorkAction
1414import org.gradle.workers.WorkParameters
1515import org.gradle.workers.WorkerExecutor
@@ -132,7 +132,7 @@ public abstract class CheckApiTask @Inject constructor(
132132
133133 try {
134134 result.assertNormalExitValue()
135- } catch (e: ExecException ) {
135+ } catch (e: ProcessExecutionException ) {
136136 throw ApiChangedException (msg, e)
137137 }
138138 }
@@ -160,7 +160,6 @@ public abstract class CheckApiTask @Inject constructor(
160160 appendLine(" " .repeat(margin))
161161 }
162162
163-
164163 val lines = lines()
165164 return buildString {
166165 // Add top margin
You can’t perform that action at this time.
0 commit comments