Commit Graph

33 Commits

Author SHA1 Message Date
Uwe Kubosch 0a0ed7d428 Release 2.1.0-beta.2 and try publishing docs 2023-05-17 20:06:34 +02:00
Uwe Kubosch 2e22ec2126 Update copyright year from 2020 to 2023 2023-05-16 10:20:02 +02:00
Uwe Kubosch f36eb27c1d Correct plugin id for com.github.jruby-gradle.war
Rename gradle project for the base plugin to jruby-gradle-base-plugin
2023-05-16 10:13:03 +02:00
Schalk Cronje 98a282d204 (#386) Setup initial publishing from GH Actions 2021-05-02 21:43:57 +02:00
Schalk Cronje 08751e9317 Adjust license to include 2021 2021-05-02 19:15:20 +02:00
Schalk Cronje d2c32b51ac Update integration specifications 2021-02-07 21:06:49 +01:00
Schalk Cronje 102e880c3e Upgradle to grolifant 1.0.0-alpha.4 2020-11-15 18:01:39 +01:00
Schalk Cronje 0e904089c8 Prepare for Gradle's configuration cache
- Use the new 1.0.0-alpha.1 Grolifant release that has configuration-cache
  safety built-in.
- Check that no usage of `Project` object will be done after configuration
  phase has ended.
- Maintain compatibility down to Gradle 4.3.
2020-10-29 22:15:06 +01:00
Schalk Cronje d764de4e8e Update license headers 2020-01-17 23:11:26 +01:00
Schalk Cronje a8ffdf8954 Remove all dependency on Torquebox (#388) 2019-12-19 23:28:05 +01:00
Schalk Cronje 2d4bd8a9f9 Verify that Gradle 5x. dependency locking works with GEMs (#372)
Added at hack.commit.push 2019 with @ixschelruiz.
2019-06-16 18:13:42 +02:00
Schalk Cronje 79941dc2a5 Upgradle to Gradle 5.4.1 (#369)
- Replace Groovy `.collect` calls with `Transform.toList`.
2019-06-15 15:10:54 +02:00
Schalk Cronje 9387814caf Partially deal with != in ranges, by ignoring the version (#290) 2019-06-05 22:11:07 +02:00
Schalk Cronje ce44d67b80 Cleaned up and restructured base-plugin (#366).
- `JRubyPluginExtension`
- `JRubyExec`
- Split out `GemUtils.OverwriteAction` into its own class `GemOverwriteAction`.
- Moved `GemUtils` to `core-plugin`.
- Removed `RubygemsServlet`.
- Reworked `GemVersion` to be more Ivy-like rather than Maven-like.
- Reworked `JRubyPrepare` & `JRubyExec`.
- Extract common `JRubyPrepare` code to `AbstractJRubyPrepare`.
- Cleaned up `JRubyExec` to no longer depend on `JRubyExecTraits`.
- Cleaned up `JRubyExecDelegate` to no longer depend on `JRubyExecTraits`.
- In `JRubyPlugin`, register tasks instead of creating them if Gradle supports lazy-creation.
- Removed last usages of `jar-dependencies`.
- Cleaned up integration tests and unit tests
2019-06-05 02:52:43 +02:00
R Tyler Croy 4298d69ae8
Place the jrubyjar and prepareJrubyJar in the right group
Fixes #357
2019-05-25 11:50:49 -07:00
Schalk Cronje 4c6678eb8a Use URI for flat directory so tests work on Windows (#350) 2019-05-23 18:09:21 +02:00
R Tyler Croy 08ec972836
Remove a little bit more of the internal shadow APIs 2019-05-19 20:11:11 -07:00
R Tyler Croy 8909d76fa7
Remove the zip exploding code from the JRubyJarCopyAction
Making this as a separate commit so it's easier to figure out later. But either
way, this ensures that jar files go into the shadowed jrubyjar unmolested.

Fixes #307
2019-05-18 14:11:23 -07:00
R Tyler Croy f69840dfa4
Pin to the shadow plugin 4.0.4 and pull in enough internal classes to compile and run
There are some object/class conflicts between the "stock" commons compression
code, and the vendored under shadow.*

For simplicity's sake, just taking everything from the shadow. namespace instead
of fighting these silly objects
2019-05-18 14:08:43 -07:00
R Tyler Croy 235124ee9b
Import the latest version of the ShadowCopyAction for JRubyJarCopyAction
This is taken from 4.0.4
2019-05-18 13:25:05 -07:00
R Tyler Croy b65221a633
Adapt the JRubyDirInfoTransformer class to the newer API contract from the shadow plugin 2019-05-18 09:31:59 -07:00
R Tyler Croy cba9520fd8
Upgrade the shadow dependency and explicitly declare our own dependencies.
I believe that we were previously relying on the shadow plugin to bring in too
many of our dependencies, and with recent versions of the plugin those
dependency declarations went away.

This commit gets the missing dependencies compiling again, and addresses one
backwards incompatible change with the asm-commons library, see:
    https://issues.apache.org/jira/browse/MSHADE-258
2019-05-18 09:12:19 -07:00
R Tyler Croy e8da8e9fa6
Remove the jar-dependencies and 1.7 checks for the jar plugin
See #319
2019-05-09 07:36:33 -07:00
Schalk Cronje 7557fe46ee Cleanup Codenarc violations (#351) 2019-05-05 20:40:34 +02:00
R Tyler Croy 33dc532c93
Correct a minor codenarc violation in JRubyJarPlugin 2019-05-05 09:45:52 -07:00
Schalk Cronje ade6d535a9 Clean up build.gradle after restructured unit- and integration tests 2019-05-05 18:22:20 +02:00
Schalk Cronje 4abeb5b61c Migrated tests from JRubyJarIntegrationSpec and deleted the latter 2019-05-05 18:18:50 +02:00
Schalk Cronje 0c0fe938df Restructured JRubyJarTestKitSpec 2019-05-05 17:46:38 +02:00
Schalk Cronje ed7216086a Create jrubyJar configuration if it does not exist 2019-05-05 17:33:52 +02:00
Schalk Cronje 01a5c3443b Restructured JRubyPluginInstanceSpec 2019-05-05 15:53:31 +02:00
Schalk Cronje f3be3f670b Restructured JRubyJarSpec 2019-05-05 15:52:59 +02:00
Schalk Cronje 7a54e504d7 Restructured JRubyJarPluginSpec 2019-05-05 15:51:29 +02:00
Schalk Cronje c34f1eb36d Restructured directories for simpler and shorter names 2019-05-05 15:35:34 +02:00