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

Bump Gradle to version 4.1 #1012

Merged
merged 1 commit into from
Aug 10, 2017
Merged

Conversation

JLLeitschuh
Copy link
Contributor

@JLLeitschuh JLLeitschuh commented Aug 8, 2017

Overview

https://docs.gradle.org/4.1/release-notes.html


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done


task wrapper(type: Wrapper) {
Copy link
Contributor Author

@JLLeitschuh JLLeitschuh Aug 8, 2017

Choose a reason for hiding this comment

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

You really should only have this task on the root project. You don't need it on all of the subprojects.

Copy link
Member

Choose a reason for hiding this comment

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

True.

build.gradle Outdated
task wrapper(type: Wrapper) {
description = 'Generates gradlew and gradlew.bat scripts'
gradleVersion = '4.1'
distributionType = Wrapper.DistributionType.ALL
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice to have when writing/updating build logic.

Copy link
Member

Choose a reason for hiding this comment

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

It was changed from "all" to "bin" some days ago via 719127f#diff-fd9d61e37d939c941e7a62077f38d62d -- please revert it as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer the bin distribution because it is smaller: 64M vs. 86M.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I can change it back. I personally work in gradle builds a lot at work and always finding the docs really helpful.

I'll explicitly set the distribution type to BIN with a mention of this comment chain.

/*
* Reasoning for using BIN:
* https://github.com/junit-team/junit5/pull/1012#discussion_r132061924
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Commenting formatting seems weird but this is what spotless wants. so...

@JLLeitschuh
Copy link
Contributor Author

I'm hoping that this unblocks #1001

@sbrannen sbrannen merged commit a337d4c into junit-team:master Aug 10, 2017
@sbrannen
Copy link
Member

This has been merged into master.

Thanks

@sbrannen sbrannen added this to the 5.0 RC3 milestone Aug 10, 2017
@JLLeitschuh JLLeitschuh deleted the task/gradle_4.1 branch August 10, 2017 14:07
Andrei94 pushed a commit to Andrei94/junit5 that referenced this pull request Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants