element-x-ada/plugins/src/main/kotlin/io.element.jvm-library.gradle.kts
Jorge Martin Espinosa e79d9b627e
Improve Kover setup by using only convention plugins (#6213)
* Improve Kover setup using convention plugins.
* Add a new JVM library convention plugin with Kover support
2026-03-16 14:41:07 +00:00

28 lines
676 B
Kotlin

/*
* 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.
*/
/**
* This will generate the plugin "io.element.jvm-library", used in pure JVM libraries.
*/
import extension.setupKover
import org.gradle.accessors.dm.LibrariesForLibs
val libs = the<LibrariesForLibs>()
plugins {
id("org.jetbrains.kotlin.jvm")
id("com.autonomousapps.dependency-analysis")
id("com.android.lint")
}
kotlin {
jvmToolchain {
languageVersion = Versions.javaLanguageVersion
}
}
setupKover()