-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
53 lines (44 loc) · 1.22 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@file:Suppress("UnstableApiUsage")
import io.gitlab.arturbosch.detekt.report.ReportMergeTask
import org.jetbrains.gradle.ext.settings
import org.jetbrains.kotlin.gradle.utils.extendsFrom
plugins {
`ghidralite-conventions`
`ghidralite-linting-conventions`
id("org.jetbrains.kotlinx.kover")
id("io.gitlab.arturbosch.detekt")
alias(libs.plugins.composeDesktop) apply(false)
}
idea {
project {
settings {
doNotDetectFrameworks("android", "web")
}
}
}
val reports = configurations.register("reports") { isCanBeDeclared = true }
koverReport {
defaults {
xml {
onCheck = true
}
}
}
configurations {
kover.extendsFrom(reports)
sarif.extendsFrom(reports)
}
dependencies {
reports(project(":ghidralite-core"))
reports(project(":ghidralite-core-ksp"))
reports(project(":ghidralite-extension"))
reports(project(":ghidralite-standalone"))
reports(project(":ghidralite-ui"))
}
val projectSarifReport by tasks.registering(ReportMergeTask::class) {
output.set(rootProject.layout.buildDirectory.file("reports/detekt/merge.sarif"))
input.from(configurations.outgoingSarif)
}
task("check") {
dependsOn(projectSarifReport)
}