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

๐Ÿ”€ :: (#51) detekt logic refactoring #52

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import android.app.Application
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class GoSocketApplication: Application()
class GoSocketApplication : Application()
5 changes: 2 additions & 3 deletions app/src/main/java/com/chat/go_socket/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ package com.chat.go_socket
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.material3.Text
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {

// TODO: NavHost ์ž‘์—… ์ˆ˜ํ–‰
}
}
}
}
5 changes: 2 additions & 3 deletions app/src/test/java/com/chat/go_socket/ExampleUnitTest.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.chat.go_socket

import org.junit.Test

import org.junit.Assert.*
import org.junit.Assert.assertEquals

/**
* Example local unit test, which will execute on the development machine (host).
Expand All @@ -14,4 +13,4 @@ class ExampleUnitTest {
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id("com.android.application")
kotlin("android")
kotlin("plugin.compose")
id("convention.verify.detekt")
}

android {
Expand Down Expand Up @@ -40,4 +41,4 @@ android {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import com.chat.build_logic.configureKotlinAndroid
plugins {
id("com.android.library")
kotlin("android")
id("convention.verify.detekt")
}

android {
Expand All @@ -22,4 +21,4 @@ android {
)
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import io.gitlab.arturbosch.detekt.Detekt
configureVerifyDetekt()

tasks.withType<Detekt>().configureEach {
jvmTarget = "17"

buildUponDefaultConfig = true // ๊ธฐ๋ณธ ์„ค์ •์—์„œ ์ถ”๊ฐ€ ์„ค์ •๋งŒ ๋ฎ์–ด์“ฐ๊ธฐ
allRules = false // ๋ชจ๋“  ๋ฃฐ์„ ํ™œ์„ฑํ™” ํ• ์ง€ ์„ค์ •
parallel = true // ์ฝ”๋“œ ๋ถ„์„ ๋ณ‘๋ ฌ ์‹คํ–‰ ์„ค์ •
config = files("$rootDir/config/detekt/detekt.yml")
}
}
Loading