mirror of https://github.com/usbharu/Hideout.git
chore: activitypubでdetektが動くように
This commit is contained in:
parent
35eded28e5
commit
ec0934a411
|
@ -391,7 +391,8 @@ jobs:
|
|||
|
||||
- name: owl Lint
|
||||
if: always()
|
||||
run: ./owl/gradlew :owl:detektMain
|
||||
working-directory: owl
|
||||
run: ./gradlew :detektMain
|
||||
|
||||
- name: Auto Commit
|
||||
if: ${{ always() }}
|
||||
|
|
|
@ -15,6 +15,7 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
testImplementation(kotlin("test"))
|
||||
detektPlugins(libs.detekt.formatting)
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
|
@ -66,6 +67,14 @@ project.gradle.taskGraph.whenReady {
|
|||
}
|
||||
}
|
||||
|
||||
detekt {
|
||||
parallel = true
|
||||
config.setFrom(files("../detekt.yml"))
|
||||
buildUponDefaultConfig = true
|
||||
basePath = "${rootDir.absolutePath}/src/main/kotlin"
|
||||
autoCorrect = true
|
||||
}
|
||||
|
||||
kover {
|
||||
currentProject {
|
||||
sources {
|
||||
|
|
Loading…
Reference in New Issue