chore: activitypubでdetektが動くように

This commit is contained in:
usbharu 2024-09-17 22:46:38 +09:00
parent 35eded28e5
commit ec0934a411
Signed by: usbharu
GPG Key ID: 95CBCF7046307B77
3 changed files with 12 additions and 2 deletions

View File

@ -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() }}

View File

@ -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 {