Skip to content

Commit

Permalink
Fix workresult fallback. Fixes #260
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielThomas committed Sep 18, 2017
1 parent c0a2b8b commit d151dba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public abstract class AbstractPackagingCopyAction<T extends SystemPackagingTask>
try {
// Gradle 4.2 and later
return WorkResults.didWork(true)
} catch (ClassNotFoundException e) {
} catch (NoClassDefFoundError ignored) {
return new SimpleWorkResult(true)
}
}
Expand Down

0 comments on commit d151dba

Please sign in to comment.