Skip to content

Commit

Permalink
Don't break until setter is found
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Apr 5, 2019
1 parent 3acfb69 commit cfc9fad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ class InstantExecution(private val host: Host) {
if (setter.parameterTypes[0].isAssignableFrom(value.javaClass)) {
setter.isAccessible = true
setter(task, value)
break
}
break
}
} catch (e: Exception) {
throw GradleException("Could not load value of property `$propertyName` of task ${task.path}.", e)
Expand Down

0 comments on commit cfc9fad

Please sign in to comment.