Fix some build warnings
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 7m36s
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 7m36s
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
|
||||
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSetTree
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlin.kover)
|
||||
alias(libs.plugins.kotlin.multiplatform)
|
||||
@@ -13,9 +10,12 @@ kotlin {
|
||||
jvmToolchain(libs.versions.jdk.get().toInt())
|
||||
|
||||
jvm()
|
||||
androidTarget {
|
||||
@OptIn(ExperimentalKotlinGradlePluginApi::class)
|
||||
instrumentedTestVariant.sourceSetTree.set(KotlinSourceSetTree.test)
|
||||
androidLibrary {
|
||||
namespace = "ch.dissem.yaep.common.ui"
|
||||
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
||||
minSdk = libs.versions.android.minSdk.get().toInt()
|
||||
|
||||
experimentalProperties["android.experimental.kmp.enableAndroidResources"] = true
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -44,35 +44,9 @@ kotlin {
|
||||
jvmTest.dependencies {
|
||||
implementation(compose.desktop.currentOs)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "ch.dissem.yaep.common.ui"
|
||||
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
||||
|
||||
dependencies {
|
||||
implementation(libs.androidx.compose.foundation)
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
minSdk = libs.versions.android.minSdk.get().toInt()
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
getByName("test") {
|
||||
resources.srcDirs("src/commonTest/resources")
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
enableAndroidTestCoverage = true
|
||||
enableUnitTestCoverage = true
|
||||
androidMain.dependencies {
|
||||
implementation(libs.androidx.compose.foundation)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user