Commit Graph

578 Commits

Author SHA1 Message Date
R. Tyler Croy 35d2a61eff Merge pull request #260 from rtyler/rc115-no-really
1.1.5 release candidate
2015-11-14 09:15:28 -08:00
R. Tyler Croy c9899551d5
Upgrade the default base to 9.0.4.0
See also: <http://jruby.org/2015/11/13/jruby-9-0-4-0.html>
2015-11-14 08:42:55 -08:00
R. Tyler Croy 7575b63d1c Merge pull request #257 from rtyler/rc-1.1.5
1.1.5 release candidate
2015-10-23 08:16:11 -07:00
R. Tyler Croy 28b2632a7b
Upgrade version for a minor release 2015-10-23 07:13:10 -07:00
R. Tyler Croy 5d7f7ca256
Upgrade the default JRuby to 9.0.3.0
See also: <http://jruby.org/2015/10/21/jruby-9-0-3-0.html>

Fixes #255
2015-10-23 07:12:52 -07:00
R. Tyler Croy 6d57b1c786 Merge pull request #248 from rtyler/1.1.4-rc
Candidate fixes for 1.1.4
2015-10-01 09:10:06 -07:00
R. Tyler Croy 5730d81c70
Prepare 1.1.4 release 2015-10-01 07:13:15 -07:00
R. Tyler Croy 204cd4071d
Ensure that the shadow plugin code will be loaded in the classpath for gradleTest 2015-10-01 07:12:48 -07:00
R. Tyler Croy 0ea9c92b0b
Remove .jrubydir generation from the gem installation process
This is redundant and no longer needed

References #225
2015-10-01 07:12:43 -07:00
R. Tyler Croy 0c3478a76e
Generate .jrubydir files when the JRubyJar task is copying files into the archive
Fixes #223
Fixes #225
2015-10-01 07:12:35 -07:00
R. Tyler Croy 2102cf4848
prepare 1.1.3 release 2015-09-30 14:09:21 -07:00
R. Tyler Croy eefa06c806 Merge pull request #247 from rtyler/1.1.3-candidate
1.1.3 release candidate
2015-09-30 14:09:16 -07:00
Blane Dabney b4e761508f
Add bin/** to staged files to be included in the jar. Resolves #245 2015-09-30 13:31:11 -07:00
R. Tyler Croy 6500b185b1
Mark gemInstallDir and jarInstallDir as deprecated
Fixes #187
2015-09-30 13:30:46 -07:00
Christian Meier 2218683e6e
make sure the generated Jars.lock file matches the installed jars
instead using an Overwrite strategy either create the file if it is not
there or compare the old content with new content and write out the
file if something changed.

fixes #229
2015-09-18 09:26:29 -07:00
R. Tyler Croy cced0fdc81
Ensure the sources jar gets uploaded to bintray
Fixes #195
2015-09-16 09:15:36 -07:00
R. Tyler Croy abd9afafbd
Incrementing for one more release just to make sure everything is kosher
Fixes #195
2015-09-16 09:01:08 -07:00
R. Tyler Croy 209ad7b1f7
Use the maven-publish plugin in the base plugin to generate our POMs properly
The maven plugin doesn't give us (AFAICT) the necessary pom manipulation
capabilities to change the artifactId to 'jruby-gradle-plugin' instead of
project.name

Fixes #195
2015-09-16 09:00:49 -07:00
R. Tyler Croy f6feb52998 Merge pull request #227 from rtyler/old-jruby-warning
Add a warning message if a JRubyJar user uses an old old version of JRuby
2015-09-16 07:08:48 -07:00
R. Tyler Croy 1957eeb709 Merge pull request #226 from rtyler/cli-override-131
Provide a command-line override for the default JRuby version
2015-09-16 06:26:28 -07:00
R. Tyler Croy fef8bdd573
Add a warning message if a JRubyJar user uses an old old version of JRuby
This should *help* prevent users from hurting themelves, I hope

Fixes #191
2015-09-16 06:07:09 -07:00
R. Tyler Croy d33d3c217d
Allow defining -PjrubyVersion=1.7.11 to override the default JRuby version used
This will only override the default used and should not affect overrides by
downstream consumers

Fixes #131
2015-09-15 10:37:04 -07:00
R. Tyler Croy 961e3e1d4b
Update the docs around the built-in rubygems() repository proxy 2015-09-15 10:36:51 -07:00
R. Tyler Croy a1f3ce2f7c
Add a 1.0.4 release announcement 2015-09-10 16:55:53 -07:00
R. Tyler Croy 27162f492c
Add a latest version button to the bar and update download page for 1.0.4 2015-09-10 15:20:09 -07:00
R. Tyler Croy 9b1f7fdf33
Add new screenshots for JRuby 9k
Fixes #179
2015-09-10 15:20:09 -07:00
R. Tyler Croy 6c805c8bd4 Merge pull request #221 from rtyler/dont-nuke-dirinfo
Prevent new instantiations of JRubyDirInfo from deleting the dirinfo
2015-09-10 15:03:11 -07:00
R. Tyler Croy 19ebf64dd9
Prevent new instantiations of JRubyDirInfo from deleting the dirinfo directory
This will allow the dirinfo directory to be used as a staging ground but as
@mkristian correctly points out, this means the dirinfo directory will get more
and more stale/inaccurate as time goes on. This necessitates a refactored
approach to generating the .jrubydir files and injecting them into the packed
jar file

Fixes #220
2015-09-10 14:34:42 -07:00
R. Tyler Croy 9e21240fac Merge pull request #218 from rtyler/gradletest-versioning
Restrict gradleTest to 2.0, 2.2 and 2.6
2015-09-10 13:32:36 -07:00
R. Tyler Croy 0ae4d12102 Merge pull request #219 from rtyler/jdk7-no-mas
Remove oraclejdk7 from test matrix and reduce redundant task execution
2015-09-10 13:32:25 -07:00
R. Tyler Croy 5a3b46aebf
Remove oraclejdk7 from test matrix and reduce redundant task execution from CI
Fixes #217
2015-09-10 10:57:20 -07:00
R. Tyler Croy 8404576d93 Merge pull request #215 from rtyler/private-property
Avoid member vs. property name collisions in JRubyJar
2015-09-10 10:52:06 -07:00
R. Tyler Croy 35dff0da21
Restrict gradleTest to 2.0, 2.2 and 2.6
IMO 2.4 is no longer worth testing specifically for
2015-09-10 10:04:22 -07:00
R. Tyler Croy da7afc8c19
Avoid member vs. property name collisions in JRubyJar to make subclassing easier
When using a member variable that is named the same as a property, the behavior
from subclassing can be very confusing

Take the following example:

    class Parent {
        protected String configuration = "foo"

        String getConfiguration() {
            return configuration
        }

        void doSomething() {
            logger.info("Parent using ${configuration}")
        }
    }

    class Child {
        String getConfiguration() {
            return 'hello'
        }

        void doSomething() {
            logger.info("Child using ${configuration}")
            super.doSomething()
        }
    }

Invoking childInstance.doSomething() will output:

    Child using hello
    Parent using foo

This can be remedied (pointed out by @ysb33r) by calling `this.@configuration`
which will force a property lookup in Groovy. I personally find it less
error-prone to keep member names ddifferent from the proprty names which expose
them as a non-protected/private API.

Fixes jruby-gradle/jruby-gradle-storm-plugin#21
2015-09-10 08:23:40 -07:00
R. Tyler Croy e872ebc856 Merge pull request #214 from mkristian/better-version-range-adjustments
remove trailing 0 version parts on ranges
2015-09-09 12:38:48 -07:00
Christian Meier d08d1a313e remove trailing 0 version parts on ranges
gradle can not resolve 1.0.4.0 to 1.0.4 the same way maven does. removing the tailing
'0' helps to be more in line with maven.

fixes #213
2015-09-09 20:43:36 +02:00
R. Tyler Croy 73723e5807 Merge pull request #210 from rtyler/smaller-jar
Exclude the entire gems/cache directory when packing the jar
2015-09-09 10:51:33 -07:00
R. Tyler Croy 345379dff4 Merge pull request #212 from rtyler/new-jruby
Upgrade the default version of JRuby to 9.0.1.0
2015-09-09 10:51:00 -07:00
R. Tyler Croy 941b798f77
Upgrade the default version of JRuby to 9.0.1.0
See: <http://jruby.org/2015/09/02/jruby-9-0-1-0.html>

Fixes #211
2015-09-09 09:36:29 -07:00
R. Tyler Croy c8e6d57add
Exclude the entire gems/cache directory when copying files into the packed jar
Fixes #200
2015-09-09 09:29:58 -07:00
R. Tyler Croy 032ed826f7 Merge pull request #199 from mkristian/rubygems-servlets
[WIP] embed rubygems-servlet into gradle
2015-09-08 13:37:39 -07:00
Christian Meier 0cb09a2c2c do not run macos builds on travis as they just fail 2015-09-08 21:52:01 +02:00
Christian Meier f7a39ed317 remove unused import 2015-09-08 21:52:01 +02:00
Christian Meier 4a614f544b remove wrong code comment 2015-09-08 21:52:01 +02:00
Christian Meier 8d5cb13588 embed rubygems-servlet into gradle 2015-09-08 21:51:57 +02:00
R. Tyler Croy 24579f8575
Add task inputs properly for the asciidoc so we can use continuous build with the site 2015-09-01 18:53:36 -07:00
R. Tyler Croy 6ab73deed2
Use a better link name 2015-09-01 18:35:35 -07:00
R. Tyler Croy c17b27c43a
Add a post spotlighting continuous build 2015-09-01 18:33:14 -07:00
R. Tyler Croy 0755d467d0 Merge pull request #208 from mkristian/generate-gradle-rb
let gradle.rb use the same classpath, gems and jars setup as jrubyExec
2015-08-27 10:59:33 -07:00
Christian Meier 1c7cf085a4 let gradle.rb use the same classpath, gems and jars setup as jrubyExec 2015-08-27 18:10:53 +02:00