-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
30 lines (25 loc) · 1.2 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
/*
* Copyright (c) 2023-2025, 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.
* SPDX-License-Identifier: Apache-2.0
*/
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("at.released.igdbclient.gradle.lint.detekt")
id("at.released.igdbclient.gradle.lint.diktat")
id("at.released.igdbclient.gradle.lint.spotless")
}
group = "at.releaed.igdbclient"
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")
}