Skip to content

Commit

Permalink
Merge pull request #290 from praveek/dev-v2.0.0
Browse files Browse the repository at this point in the history
Code format changes
  • Loading branch information
praveek authored Dec 8, 2022
2 parents b4714a4 + 4642a2f commit aa9efbf
Show file tree
Hide file tree
Showing 373 changed files with 25,294 additions and 20,796 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- checkout
- run:
name: Check format
command: make check-format
command: make checkformat

- run:
name: Check style
Expand Down
28 changes: 20 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ clean:

checkstyle: core-checkstyle signal-checkstyle lifecycle-checkstyle identity-checkstyle

check-format: core-check-format
checkformat: core-checkformat signal-checkformat lifecycle-checkformat identity-checkformat

format: core-format
format: core-format signal-format lifecycle-format identity-format

api-dump:
(./code/gradlew -p code/android-core-library apiDump)
Expand Down Expand Up @@ -40,11 +40,11 @@ build-third-party-extension:
core-checkstyle:
(./code/gradlew -p code/android-core-library checkstyle)

core-check-format:
(./code/gradlew -p code/android-core-library ktlintCheck)
core-checkformat:
(./code/gradlew -p code/android-core-library spotlessCheck)

core-format:
(./code/gradlew -p code/android-core-library ktlintFormat)
(./code/gradlew -p code/android-core-library spotlessApply)

core-assemble-phone:
(./code/gradlew -p code/android-core-library assemblePhone)
Expand Down Expand Up @@ -82,11 +82,11 @@ core-publish-maven-local-jitpack:
signal-checkstyle:
(./code/gradlew -p code/android-signal-library checkstyle)

signal-check-format:
(./code/gradlew -p code/android-signal-library ktlintCheck)
signal-checkformat:
(./code/gradlew -p code/android-signal-library spotlessCheck)

signal-format:
(./code/gradlew -p code/android-signal-library ktlintFormat)
(./code/gradlew -p code/android-signal-library spotlessApply)

signal-assemble-phone:
(./code/gradlew -p code/android-signal-library assemblePhone)
Expand Down Expand Up @@ -123,6 +123,12 @@ signal-publish-maven-local-jitpack:
lifecycle-checkstyle:
(./code/gradlew -p code/android-lifecycle-library checkstyle)

lifecycle-checkformat:
(./code/gradlew -p code/android-lifecycle-library spotlessCheck)

lifecycle-format:
(./code/gradlew -p code/android-lifecycle-library spotlessApply)

lifecycle-assemble-phone:
(./code/gradlew -p code/android-lifecycle-library assemblePhone)

Expand Down Expand Up @@ -158,6 +164,12 @@ lifecycle-publish-maven-local-jitpack:
identity-checkstyle:
(./code/gradlew -p code/android-identity-library checkstyle)

identity-checkformat:
(./code/gradlew -p code/android-identity-library spotlessCheck)

identity-format:
(./code/gradlew -p code/android-identity-library spotlessApply)

identity-assemble-phone:
(./code/gradlew -p code/android-identity-library assemblePhone)

Expand Down
2 changes: 1 addition & 1 deletion code/android-core-library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'org.jlleitschuh.gradle.ktlint'
apply plugin: 'org.jetbrains.dokka'

// Disable variants for binary compatibility validation tasks.
Expand Down Expand Up @@ -79,6 +78,7 @@ android {
}

apply from: '../checkstyle.gradle'
apply from: '../codeformat.gradle'
apply from: '../jacoco.gradle'
apply from: 'release.gradle'

Expand Down
Loading

0 comments on commit aa9efbf

Please sign in to comment.