Upgrade to jruby/gradle core 1.0.4 with some more recent bugfixes

This commit also changes JRubyStormJar a bit to override properties now that
they are properly overwritable in 1.0.4

Fixes #22
This commit is contained in:
R. Tyler Croy 2015-09-10 16:03:57 -07:00
parent b8f6b9886e
commit 27ec0761d0
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 9 additions and 3 deletions

View File

@ -4,4 +4,4 @@ bintrayKey=
sourceCompatibility=1.7 sourceCompatibility=1.7
targetCompatibility=1.7 targetCompatibility=1.7
jrubyGradleMinVersion=1.0.3 jrubyGradleMinVersion=1.0.4

View File

@ -31,11 +31,17 @@ class JRubyStormJar extends JRubyJar {
return '1.7.22' return '1.7.22'
} }
String mainClass = REDSTORM_MAIN @Override
String getMainClass() {
return REDSTORM_MAIN
}
@Override @Override
String getConfiguration() { String getConfiguration() {
return parentTask.configuration.name if (parentTask) {
return parentTask.configuration.name
}
return JRubyStorm.DEFAULT_CONFIGURATION_NAME
} }
JRubyStormJar() { JRubyStormJar() {