Skip to content

Commit 4db1cf2

Browse files
authored
Merge pull request #340 from MSNexploder/fix_deprecated_simple_work_result
use WorkResults.didWork() instead of deprecated SimpleWorkResult
2 parents ea2ba74 + f25e16f commit 4db1cf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jruby-gradle-jar-plugin/src/main/groovy/com/github/jrubygradle/jar/internal/JRubyJarCopyAction.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import org.gradle.api.internal.file.CopyActionProcessingStreamAction
2929
import org.gradle.api.internal.file.copy.CopyAction
3030
import org.gradle.api.internal.file.copy.CopyActionProcessingStream
3131
import org.gradle.api.internal.file.copy.FileCopyDetailsInternal
32-
import org.gradle.api.internal.tasks.SimpleWorkResult
32+
import org.gradle.api.tasks.WorkResults
3333
import org.gradle.api.tasks.WorkResult
3434
import org.gradle.api.tasks.bundling.Zip
3535
import org.gradle.api.tasks.util.PatternSet
@@ -108,7 +108,7 @@ class JRubyJarCopyAction implements CopyAction {
108108
)
109109
}
110110
}
111-
return new SimpleWorkResult(true)
111+
return WorkResults.didWork(true)
112112
}
113113

114114
private void processTransformers(ZipOutputStream s) {

0 commit comments

Comments
 (0)