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
|
- name: owl Lint
|
||||||
if: always()
|
if: always()
|
||||||
run: ./owl/gradlew :owl:detektMain
|
working-directory: owl
|
||||||
|
run: ./gradlew :detektMain
|
||||||
|
|
||||||
- name: Auto Commit
|
- name: Auto Commit
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
|
@ -15,6 +15,7 @@ repositories {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(kotlin("test"))
|
testImplementation(kotlin("test"))
|
||||||
|
detektPlugins(libs.detekt.formatting)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.test {
|
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 {
|
kover {
|
||||||
currentProject {
|
currentProject {
|
||||||
sources {
|
sources {
|
||||||
|
|
|
@ -2,4 +2,4 @@ package dev.usbharu
|
||||||
|
|
||||||
fun main() {
|
fun main() {
|
||||||
println("Hello World!")
|
println("Hello World!")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue