Commit Graph

754 Commits

Author SHA1 Message Date
R Tyler Croy 675a8bb773
Create CODE_OF_CONDUCT.md 2019-05-19 22:03:30 -07:00
R Tyler Croy 411479474e
Merge pull request #356 from rtyler/shadow-307
Sync JRubyJarCopyAction with the upstream/originating shadow code
2019-05-19 20:26:23 -07: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 19487a8707
Merge pull request #355 from rtyler/openssl-323
Ensure that we're testing on JDK11 and later capable JRubies
2019-05-13 16:13:43 -07:00
R Tyler Croy 1a24da10e8
Adopt the Gradle versions for test as per @ysb33r's recommendation 2019-05-13 15:36:39 -07:00
R Tyler Croy f10144fa37
Run Gradle tests on Gradle 5.0 for JDK11
Fixes #346
2019-05-13 09:29:19 -07:00
R Tyler Croy 53c06504f1
Enforce jdk11 testing in Travis 2019-05-13 08:25:20 -07:00
R Tyler Croy b1af65db8c
Bump the baseline for old version testing to JRuby 9.2.1.0
This ensures that all of our testing is done on JRubies which have basic support
for JDK11 and later

Fixes #323
2019-05-13 08:24:22 -07:00
R Tyler Croy d6c78b6eed
Merge pull request #348 from rtyler/gradle-4.10.2
Upgrade the project to the latest Gradle 4 available.
2019-05-13 07:11:44 -07:00
R Tyler Croy f58255b5b1
Upgrade a little further to 4.10.2 2019-05-13 06:56:02 -07:00
Schalk W. Cronjé e59248abb6
Upgradle to 4.10 2019-05-13 06:53:42 -07:00
R Tyler Croy 4f076f2155
Merge pull request #354 from rtyler/remove-1.7-319
Remove support for JRuby 1.7 compatibility
2019-05-11 09:48:34 -07:00
R Tyler Croy 89a8b4f82c
Copy edits 2019-05-11 09:23:22 -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
R Tyler Croy de864bc1db
Update the documentation to refer to the right files and add some 2.0 notices 2019-05-09 07:35:53 -07:00
Schalk W. Cronjé 1511cfd607
Merge pull request #352 from ysb33r/codenarc-cleanup
Codenarc cleanup
2019-05-05 21:07:09 +02:00
Schalk Cronje 7557fe46ee Cleanup Codenarc violations (#351) 2019-05-05 20:40:34 +02:00
Schalk Cronje 79a2f52666 Makes it easier to run codenarc from within IntelliJ with clickable links (#351) 2019-05-05 20:11:04 +02:00
R Tyler Croy e28db13c04
Merge pull request #347 from ysb33r/restructure-build
Restructure build
2019-05-05 10:13:59 -07:00
R Tyler Croy 1aca4326f1
Address some minor codenarc violations in the base plugin 2019-05-05 09:48:27 -07:00
R Tyler Croy 33dc532c93
Correct a minor codenarc violation in JRubyJarPlugin 2019-05-05 09:45:52 -07:00
Schalk Cronje c1bfd5706c Restructured war-plugin 2019-05-05 18:24:30 +02: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 79121f8c5a Remove hardcoded plugin jar name 2019-05-05 15:35:34 +02:00
Schalk Cronje 9c426d7d48 Clean up build.gradle after restructured unit- and integration tests 2019-05-05 15:35:34 +02:00
Schalk Cronje 42566fece9 Restructured JRubyPrepareJarsIntegrationSpec 2019-05-05 15:35:34 +02:00
Schalk Cronje caa4ce5d93 Restructured JRubyPrepareGemsIntegrationSpec and fixed bugs along the way 2019-05-05 15:35:34 +02:00
Schalk Cronje 3695b53d1b Restructured JRubyGenerateGradleRbIntegrationSpec 2019-05-05 15:35:34 +02:00
Schalk Cronje 0812f06752 Restructured JRubyExecIntegrationSpec 2019-05-05 15:35:34 +02:00
Schalk Cronje 6d5c8e5a5d Restructure JRubyExecExtensionIntegrationSpec 2019-05-05 15:35:34 +02:00
Schalk Cronje 2d8d1a1ff9 Add a test configuration plugin to simplify testing 2019-05-05 15:35:34 +02:00
Schalk Cronje 62c46c489d Add Gradle TestKit to integration test classpath 2019-05-05 15:35:34 +02:00
Schalk Cronje 5a497d17a5 Use STABLE_PUBLISHING in preparation of future Gradle 5.x upgrade 2019-05-05 15:35:34 +02:00
Schalk Cronje c34f1eb36d Restructured directories for simpler and shorter names 2019-05-05 15:35:34 +02:00
Schalk Cronje d3fbce4340 Adjust JRubyExecSpec for non-absolute scripts 2019-05-05 15:35:33 +02:00
Schalk Cronje 38f8ec3caf Restructured JRubyExecUtilsSpec 2019-05-05 15:35:33 +02:00
Schalk Cronje 8cebce556a Restructured JRubyExecDelegateSpec 2019-05-05 15:35:33 +02:00
Schalk Cronje f41d5427b0 Restructured GemVersionSpec 2019-05-05 15:35:33 +02:00
Schalk Cronje aa1b9daaa5 Restructured GemVersionResolverSpec 2019-05-05 15:35:33 +02:00