You've already forked element-x-android
mirror of
https://github.com/element-hq/element-x-android.git
synced 2026-10-23 18:49:00 +03:00
29 lines
929 B
Kotlin
29 lines
929 B
Kotlin
import org.sonarqube.gradle.SonarResolverTask
|
|
|
|
/*
|
|
* Copyright (c) 2025 Element Creations Ltd.
|
|
* Copyright 2022-2025 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.jvm)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(projects.annotations)
|
|
implementation(libs.metro.runtime)
|
|
implementation(libs.kotlin.compiler)
|
|
implementation(libs.kotlinpoet)
|
|
implementation(libs.ksp.plugin)
|
|
implementation(libs.kotlinpoet.ksp)
|
|
}
|
|
|
|
// Ensure that the processResources task is executed before the SonarResolverTask to avoid issues with missing resources during SonarQube analysis.
|
|
// This *should not be necesssary* but is a workaround for a known issue with the SonarQube Gradle plugin.
|
|
tasks.withType<SonarResolverTask>().configureEach {
|
|
dependsOn("processResources")
|
|
}
|