File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
base-plugin/src/main/groovy/com/github/jrubygradle Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import org.gradle.api.file.FileCollection
8
8
import org.gradle.api.tasks.InputFiles
9
9
import org.gradle.api.tasks.Internal
10
10
import org.gradle.api.tasks.Optional
11
- import org.gradle.api.tasks.OutputDirectory
12
11
import org.gradle.api.tasks.TaskAction
13
12
14
13
/**
@@ -19,9 +18,12 @@ import org.gradle.api.tasks.TaskAction
19
18
@CompileStatic
20
19
class JRubyPrepare extends DefaultTask {
21
20
21
+ JRubyPrepare () {
22
+ outputs. dir({ JRubyPrepare t -> new File (t. getOutputDir(), ' gems' ) }. curry(this ))
23
+ }
24
+
22
25
/* * Target directory for GEMs. Extracted GEMs should end up in {@code outputDir + "/gems"}
23
26
*/
24
- @OutputDirectory
25
27
File getOutputDir () {
26
28
project. file(this . outputDir)
27
29
}
Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ ruleset {
243
243
SystemOutPrint
244
244
SystemRunFinalizersOnExit
245
245
TernaryCouldBeElvis
246
- ThisReferenceEscapesConstructor
247
246
ThreadGroup
248
247
ThreadLocalNotStaticFinal
249
248
ThreadYield
You can’t perform that action at this time.
0 commit comments