Skip to content

Commit 7694f48

Browse files
author
R. Tyler Croy
committed
Remove jrubyClean which shouldn't be in base and bring jrubyPrepare back
1 parent 3cc6f76 commit 7694f48

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/groovy/com/github/jrubygradle/JRubyPlugin.groovy

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ class JRubyPlugin implements Plugin<Project> {
4848
JRubyExec.updateJRubyDependencies(project)
4949
}
5050

51-
project.task('jrubyClean', type: Delete) {
52-
group TASK_GROUP_NAME
53-
description 'Clean up the temporary dirs used by the JRuby plugin'
54-
mustRunAfter 'clean'
55-
delete '.jarcache/'
56-
}
57-
5851
project.task('jrubyPrepareGems', type: JRubyPrepareGems) {
5952
group TASK_GROUP_NAME
6053
description 'Prepare the gems from the `gem` dependencies, extracts into jruby.installGemDir'
6154
gems project.configurations.gems
6255
outputDir project.jruby.gemInstallDir
6356
}
57+
58+
project.task('jrubyPrepare') {
59+
group TASK_GROUP_NAME
60+
description 'Pre-cache and prepare all dependencies (jars and gems)'
61+
dependsOn project.tasks.jrubyPrepareGems
62+
}
63+
6464
}
6565

6666
}

0 commit comments

Comments
 (0)