Skip to content

Commit

Permalink
Remove spotless dependency on main (#54)
Browse files Browse the repository at this point in the history
This PR removes the need for the main branch to be checked out
in order to build.

Signed-off-by: Marc Handalian <handalm@amazon.com>
  • Loading branch information
mch2 authored Aug 18, 2021
1 parent aa0f62f commit f798b0e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ ext {

spotless {
java {
// only apply formatting rules to updated files
ratchetFrom "origin/${gitDefaultBranch}"

licenseHeaderFile(file('license-header'))
googleJavaFormat().aosp()
importOrder()
Expand Down

0 comments on commit f798b0e

Please sign in to comment.