Skip to content

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

Merged
quike merged 11 commits into
AOL-archive:masterfrom
quike:misc/editorconfig
Nov 1, 2017
Merged

quike merged 11 commits into
AOL-archive:masterfrom
quike:misc/editorconfig

Conversation

@quike

@quike quike commented Oct 20, 2017 •

Copy link
Copy Markdown
Contributor

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)

@jijisv jijisv left a comment

Copy link
Copy Markdown
Contributor

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?

Comment thread .travis.yml
sudo: true
language: java
install: gradle clean
install: ./gradlew clean

Copy link
Copy Markdown
Contributor

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

@quike quike Oct 21, 2017 •

Copy link
Copy Markdown
Contributor Author

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

quike commented Oct 21, 2017

Copy link
Copy Markdown
Contributor Author

@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

quike commented Oct 27, 2017

Copy link
Copy Markdown
Contributor Author

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

quike commented Nov 1, 2017

Copy link
Copy Markdown
Contributor Author

@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-archive: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.

2 participants