Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to gradle 5.1 and groovy 2.5.x, closes #1412 #1419

Merged
merged 2 commits into from Jan 19, 2019
Merged

upgrade to gradle 5.1 and groovy 2.5.x, closes #1412 #1419

merged 2 commits into from Jan 19, 2019

Conversation

drmaas
Copy link
Contributor

@drmaas drmaas commented Nov 26, 2018

This change is Reviewable

@johnrengelman johnrengelman added this to the release-1.7.0 milestone Nov 26, 2018
@drmaas drmaas changed the title upgrade to gradle 5.0 and groovy 2.5.x, closes #1412 [WIP] upgrade to gradle 5.0 and groovy 2.5.x, closes #1412 Nov 27, 2018
@drmaas drmaas changed the title [WIP] upgrade to gradle 5.0 and groovy 2.5.x, closes #1412 upgrade to gradle 5.0 and groovy 2.5.x, closes #1412 Nov 27, 2018
@jsalinaspolo
Copy link
Contributor

Can we upgrade to 5.1 before merge?

@drmaas drmaas changed the title upgrade to gradle 5.0 and groovy 2.5.x, closes #1412 upgrade to gradle 5.1 and groovy 2.5.x, closes #1412 Jan 7, 2019
@drmaas
Copy link
Contributor Author

drmaas commented Jan 7, 2019

Aside from some site compile/test issues, this build worked locally. Biggest change is requiring gradle 4.0+ when using the ratpack plugin (due to shadow plugin requiring that).

@johnrengelman johnrengelman merged commit 920434f into ratpack:master Jan 19, 2019
@@ -135,7 +135,7 @@ abstract class FunctionalSpec extends Specification {
}

File getShadowJar() {
def f = file("build/libs/test-app-1.0-all.jar")
def f = file("build/libs/test-app-1.0.jar")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted this change because this is a bug in Shadow on Gradle 5.1+ due to this: https://docs.gradle.org/5.1/userguide/upgrading_version_5.html#change_in_behavior_for_tasks_extending_abstractarchivetask_or_subtypes_zip_jar_war_ear_tar

Instead, we should update the build.gradle in the test to explicitly set the classifier value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants