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

Add editorconfig for code style consistency. Format gradle files base… #381

Merged
merged 11 commits into from Nov 1, 2017
Merged

Add editorconfig for code style consistency. Format gradle files base… #381

merged 11 commits into from Nov 1, 2017

Conversation

quike
Copy link
Member

@quike quike commented Oct 20, 2017

Code Changes:

  • Add .editorconfig.
  • Format current gradle files (only). Future reviews will include production code.
  • Rename README files to follow standards.
  • Add gradle wrapper distribution.
  • Add license file. Apache License Version 2.0
  • Gradle wrapper update to version 2.14.1 with compileOnly dependency strategy (lombok)

Copy link
Collaborator

@jijisv jijisv left a comment

Choose a reason for hiding this comment

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

2 space indention - is this only for the gradle files or are we going to use the same for java files as well?

@@ -1,6 +1,6 @@
sudo: true
language: java
install: gradle clean
install: ./gradlew clean
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is causing build failures in travis

Copy link
Member Author

@quike quike Oct 21, 2017

Choose a reason for hiding this comment

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

My mistake, I didn't realize the .gitignore was excluding all jar files.

The reason of this change is that the current pipeline is wrong. The code specifies gradle version 2.3, but using gradle command it uses whichever version is installed into the travis container (4.X). So that produces a mismatch, and therefore possible building issues.

I excluded the gradle-wrapper.jar from the ignored list and now everything runs properly.

@quike
Copy link
Member Author

quike commented Oct 21, 2017

@jijisv I started with the gradle files as first step. The idea, if everybody agrees, could be to do a PR formatting properly all lines of code, where code shows full consistency.

@quike
Copy link
Member Author

quike commented Oct 27, 2017

Hey @jijisv or @johnmcclean any chance to take a look to this? Thanks.

@quike quike closed this Nov 1, 2017
@quike quike reopened this Nov 1, 2017
@quike
Copy link
Member Author

quike commented Nov 1, 2017

@jijisv or @johnmcclean I don't have privileges to merge the branch, so please, could you merge it? Thanks

Mora Parraga, Enrique and others added 2 commits November 1, 2017 12:25
…orconfig

# Conflicts:
#	build.gradle
#	micro-async-data-loader/build.gradle
#	micro-async-data-writer/build.gradle
#	micro-core/build.gradle
#	micro-guava/build.gradle
#	micro-jmx-metrics/build.gradle
#	micro-reactive/build.gradle
#	micro-s3/build.gradle
@quike quike merged commit affed8e into aol:master Nov 1, 2017
@quike quike deleted the misc/editorconfig branch November 1, 2017 16:47
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

2 participants