-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
27 lines (23 loc) · 1.12 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
/*
* Copyright (c) 2023, the Igdbclient project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnLockMismatchReport
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnRootExtension
plugins {
alias(libs.plugins.android.library) apply false
alias(libs.plugins.dokka)
alias(libs.plugins.gradle.maven.publish.plugin.base) apply false
alias(libs.plugins.kotlin.multiplatform) apply false
id("ru.pixnews.igdbclient.gradle.lint.detekt")
id("ru.pixnews.igdbclient.gradle.lint.diktat")
id("ru.pixnews.igdbclient.gradle.lint.spotless")
}
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin::class.java) {
rootProject.the<YarnRootExtension>().yarnLockMismatchReport = YarnLockMismatchReport.WARNING
}
tasks.register("styleCheck") {
group = "Verification"
description = "Runs code style checking tools (excluding tests and Android Lint)"
dependsOn("detektCheck", "spotlessCheck", "diktatCheck")
}