From ee5519f94f393d269220b78d6d0e0251bdb0d1a5 Mon Sep 17 00:00:00 2001 From: Minju Kim <50831854+mjkim1019@users.noreply.github.com> Date: Fri, 13 Oct 2023 03:36:52 +0900 Subject: [PATCH 1/6] Update ktlint-check.yml --- .github/workflows/ktlint-check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ktlint-check.yml b/.github/workflows/ktlint-check.yml index 00de9f88f..43beb674a 100644 --- a/.github/workflows/ktlint-check.yml +++ b/.github/workflows/ktlint-check.yml @@ -19,6 +19,7 @@ jobs: java-version: 17 - name: Run ktlint - run: ./gradlew ktlintCheck --daemon - + run: + ./gradlew ktlint --daemon + ./gradlew ktlintCheck --daemon From e59286e20969eb806f4df6923a9a7c73b42128f2 Mon Sep 17 00:00:00 2001 From: Seunggu Kang <63611804+kang9366@users.noreply.github.com> Date: Fri, 13 Oct 2023 04:06:20 +0900 Subject: [PATCH 2/6] Update ktlint-check.yml --- .github/workflows/ktlint-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ktlint-check.yml b/.github/workflows/ktlint-check.yml index 43beb674a..9174e4af2 100644 --- a/.github/workflows/ktlint-check.yml +++ b/.github/workflows/ktlint-check.yml @@ -17,9 +17,9 @@ jobs: uses: actions/setup-java@v2 with: java-version: 17 + distribution: 'adopt' - name: Run ktlint run: ./gradlew ktlint --daemon ./gradlew ktlintCheck --daemon - From c06dd73ea1341e4356437ad37f9c21f8e90cdb23 Mon Sep 17 00:00:00 2001 From: Seunggu Kang <63611804+kang9366@users.noreply.github.com> Date: Sat, 14 Oct 2023 03:00:54 +0900 Subject: [PATCH 3/6] Update ktlint-check.yml --- .github/workflows/ktlint-check.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ktlint-check.yml b/.github/workflows/ktlint-check.yml index 9174e4af2..7695e3b81 100644 --- a/.github/workflows/ktlint-check.yml +++ b/.github/workflows/ktlint-check.yml @@ -19,7 +19,12 @@ jobs: java-version: 17 distribution: 'adopt' + - name: Sync Gradle + run: ./gradlew --refresh-dependencies + + - name: List Gradle tasks + run: ./gradlew tasks + - name: Run ktlint - run: - ./gradlew ktlint --daemon + run: | ./gradlew ktlintCheck --daemon From 33fc7ec851b58a069809fd5a992d50d1bdf9afd7 Mon Sep 17 00:00:00 2001 From: SeungGu Kang Date: Sat, 14 Oct 2023 03:16:59 +0900 Subject: [PATCH 4/6] =?UTF-8?q?[add]=20ktlint=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/kusitms/connectdog/feature/main/Test.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt diff --git a/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt b/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt new file mode 100644 index 000000000..9db4b9121 --- /dev/null +++ b/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt @@ -0,0 +1,9 @@ +package com.kusitms.connectdog.feature.main + +class Test { + val test: String = "ktlint 테스트 입니다" + + fun ktlintTest(){ + print(test) + } +} \ No newline at end of file From 3b72715b81718d056fe78bb377235254f18de312 Mon Sep 17 00:00:00 2001 From: SeungGu Kang Date: Sat, 14 Oct 2023 03:32:25 +0900 Subject: [PATCH 5/6] =?UTF-8?q?[add]=20ktlint=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/kusitms/connectdog/feature/main/Test.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt b/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt index 9db4b9121..f2cd89911 100644 --- a/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt +++ b/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt @@ -1,7 +1,7 @@ package com.kusitms.connectdog.feature.main class Test { - val test: String = "ktlint 테스트 입니다" + val test : String = "ktlint 테스트 입니다" fun ktlintTest(){ print(test) From a2e3316e21775ae0f24a968e436312739607847d Mon Sep 17 00:00:00 2001 From: SeungGu Kang Date: Sat, 14 Oct 2023 03:51:14 +0900 Subject: [PATCH 6/6] update: ktlint formatting --- .../main/java/com/kusitms/connectdog/feature/main/Test.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt b/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt index f2cd89911..372a327af 100644 --- a/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt +++ b/feature/main/src/main/java/com/kusitms/connectdog/feature/main/Test.kt @@ -1,9 +1,9 @@ package com.kusitms.connectdog.feature.main class Test { - val test : String = "ktlint 테스트 입니다" + val test: String = "ktlint 테스트 입니다" - fun ktlintTest(){ + fun ktlintTest() { print(test) } -} \ No newline at end of file +}