diff --git a/.editorconfig b/.editorconfig index e855d433..4c697b24 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,6 +8,10 @@ indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true +[*.{kt,kts}] +ij_kotlin_allow_trailing_comma=true +ij_kotlin_allow_trailing_comma_on_call_site=true + [*.md] trim_trailing_whitespace = false diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 72fbd336..3dd04860 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,12 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: '11' + java-version: 11 + distribution: 'zulu' - name: Lint run: ./gradlew afterpay:lintDebug afterpay:ktlint @@ -30,12 +31,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: '11' + java-version: 11 + distribution: 'zulu' - name: Build and Lint run: ./gradlew example:buildDebug example:lintDebug example:ktlint diff --git a/.github/workflows/release-snapshot.yml b/.github/workflows/release-snapshot.yml index 447c0648..8a954d11 100644 --- a/.github/workflows/release-snapshot.yml +++ b/.github/workflows/release-snapshot.yml @@ -9,12 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: '11' + java-version: 11 + distribution: 'zulu' - name: Clean repository before building SDK run: ./gradlew clean diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 330bea41..a9f59809 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: '11' + java-version: 11 + distribution: 'zulu' - name: Remove SNAPSHOT from version run: sed -i 's/-SNAPSHOT//g' gradle.properties diff --git a/.idea/androidTestResultsUserPreferences.xml b/.idea/androidTestResultsUserPreferences.xml new file mode 100644 index 00000000..01cf8f7d --- /dev/null +++ b/.idea/androidTestResultsUserPreferences.xml @@ -0,0 +1,37 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 4e2fe53d..7829f3cf 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -6,15 +6,6 @@ -