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 java code auto reformat to build #13

Merged
merged 3 commits into from
Aug 7, 2020
Merged

Conversation

cgardens
Copy link
Contributor

@cgardens cgardens commented Aug 7, 2020

this first commit adds the necessary plugin and applies the build rules. i'm still pretty new to gradle so if there's a a better way to do it lmk. i was trying to push more of it into the build.gradle in the root but couldn't figure out how to do it quickly.

the second commit is with all the code auto reformat applied.

build.gradle Outdated
@@ -33,5 +39,7 @@ subprojects {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.4.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.4.2'
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.4.6'

compile group: "com.google.googlejavaformat", name: "google-java-format", version: "1.8"
Copy link
Contributor

Choose a reason for hiding this comment

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

I am surprised that it is in the code deps since it should only be needed to run the tool

Copy link
Contributor Author

Choose a reason for hiding this comment

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

me too. i'll double check that i have done something dumb here.

@michel-tricot
Copy link
Contributor

@cgardens cgardens merged commit 6b36e6f into master Aug 7, 2020
@cgardens cgardens deleted the charles/java_code_style branch August 7, 2020 23:45
@sbjorn sbjorn mentioned this pull request Aug 29, 2022
18 tasks
c-p-b pushed a commit that referenced this pull request Feb 17, 2023
* remove connectors tools from /tools

* remove deploy docs workflow
@avirajsingh7 avirajsingh7 mentioned this pull request Aug 3, 2023
4 tasks
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.

4 participants