Commit Graph

10 Commits

Author SHA1 Message Date
R. Tyler Croy 27ec0761d0
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
2015-09-10 16:03:57 -07:00
R. Tyler Croy b8f6b9886e
Set some default groups and descriptions on our packaging/run tasks
Fixes #19
2015-09-10 11:20:44 -07:00
R. Tyler Croy ca083054b4
Ensure that setting of the jrubyVersion for the topology jar works properly
This contains some workarounds until jruby-gradle/redstorm#11 is fixed which
will allow us to work on JRuby 9k, until then we'll default to the latest
stable JRuby 1.7.x branch

Fixes #23
2015-09-09 15:33:56 -07:00
R. Tyler Croy 26a8316f49
Introduce a new configuration for unzipping things directly into the topology jar
This goes hand-in-hand with jruby-gradle/redstorm#12 and allows us to
incorporate things like storm-kafka early on in the load time of a topology
while still allowing most JRuby-originating jar dependencies to be packed "as
per usual." (See fast-rsa-engine and others which pack jar files inside gem
archives)

Fixes #25
2015-09-09 13:51:42 -07:00
R. Tyler Croy 61794ed1d2
Upgrade to the latest version of JRuby 1.7.x 2015-09-09 13:06:12 -07:00
R. Tyler Croy 85fea21820
Lazily include the redstorm jar to avoid compatibiity issues on Gradle 2.2
There's an issue with overriding copy() in Gradle 2.0 -> Gradle 2.2
    <https://issues.gradle.org/browse/GRADLE-3207>

    Caused by: groovy.lang.MissingMethodException: No signature of method: com.github.jrubygradle.storm.internal.JRubyStormJar_Decorated.copy() is applicable for argument types: () values: []
    Possible solutions: copy(), any(), any(groovy.lang.Closure), notify(), wait(), find()
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:55)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:130)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148)
        at com.github.jrubygradle.storm.internal.JRubyStormJar.copy(JRubyStormJar.groovy:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
2015-08-14 18:53:51 -07:00
R. Tyler Croy 6f0bd71f12
Default to JRuby 1.7.21 for packaging up topology jars 2015-08-14 17:06:53 -07:00
R. Tyler Croy 363821f23b
Dump the redstorm contents into the resulting archive 2015-08-14 16:23:04 -07:00
R. Tyler Croy d7288e23a9
Properly packaging up the topology code inside of the jar
Fixes #6
2015-08-14 15:00:33 -07:00
R. Tyler Croy fe5a55d754
Introduce some GradleTestKit-based tests and the supporting infra to run them
Some of this was unapologetically pilfered from the core plugins
2015-08-14 11:24:32 -07:00