-
Notifications
You must be signed in to change notification settings - Fork 70
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
#1 detekt 적용, actions에 적용적용 #5
Conversation
# plugin | ||
verify-detektPlugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detekt" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libraries 바로밑에 모아져있는 android-gradlePlugin
kotlin-gradlePlugin
플러그인도 #plugin
아래로 옮겨야 할 것 같아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
근데 둘다 플러그인용이 있고, 이름만 플러그인도 있어서 애매하네요. 저도 정리하다가
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
만들면서 중간에 정리할 일이 몇번 있을 듯 하니 그때 맞춰보면 될 것 같습니다 👀
build-logic/src/main/kotlin/droidknights.verify.detekt.gradle.kts
Outdated
Show resolved
Hide resolved
buildUponDefaultConfig = true // preconfigure defaults | ||
allRules = false // activate all available (even unstable) rules. | ||
parallel = true | ||
config.setFrom(listOf(file("$rootDir/config/detekt/detekt.yml"))) // point to your custom config defining rules to run, overwriting default behavior |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 요거하면 max line도 잡히긴 한데 저렇게 밑줄 그어지나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 변수로 나눠달라는 경고보다는 라인이 길다라는 경고가 먼저 들어오더라구요.
안드로이드 스튜디오에 있는 플러그인 문제인지 실제 task에서는 안잡힙니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Youngjik Yoon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐈 🐕 🐬
No description provided.