File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ kotlin.mpp.enableCInteropCommonization=true
1111android.useAndroidX =true
1212android.nonTransitiveRClass =true
1313# Library
14- library.version =0.0.1
14+ library.version =0.0.0
Original file line number Diff line number Diff line change @@ -11,15 +11,13 @@ vanniktechMavenPublish = "0.35.0"
1111sonarqube = " 7.2.2.6593"
1212kover = " 0.9.4"
1313detekt = " 2.0.0-alpha.1"
14- androidToolsLint = " 32.0.0-beta05"
1514
1615[libraries ]
1716espresso-core = { module = " androidx.test.espresso:espresso-core" , version.ref = " espressoCore" }
1817junit = { module = " junit:junit" , version.ref = " junit" }
1918kotest-assertions-core = { module = " io.kotest:kotest-assertions-core" , version.ref = " kotestAssertionsCore" }
2019kotlin-test = { module = " org.jetbrains.kotlin:kotlin-test" , version.ref = " kotlin" }
2120runner = { module = " androidx.test:runner" , version.ref = " runner" }
22- android-tools-lint = { module = " com.android.tools.lint:lint-gradle" , version.ref = " androidToolsLint" }
2321
2422[plugins ]
2523android-kotlin-multiplatform-library = { id = " com.android.kotlin.multiplatform.library" , version.ref = " agp" }
Original file line number Diff line number Diff line change 1+ import com.android.build.gradle.internal.lint.AndroidLintTask
12import dev.detekt.gradle.Detekt
23import dev.detekt.gradle.DetektCreateBaselineTask
34import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -45,6 +46,9 @@ kotlin {
4546 }
4647 }
4748 }
49+ lint {
50+ checkReleaseBuilds = false
51+ }
4852 }
4953
5054 linuxX64()
@@ -60,13 +64,13 @@ kotlin {
6064 }
6165
6266 androidMain.dependencies {
63- implementation(libs.android.tools.lint)
6467 }
6568
6669 commonTest.dependencies {
6770 implementation(libs.kotlin.test)
6871 implementation(libs.kotest.assertions.core)
6972 }
73+
7074 val androidDeviceTest by getting {
7175 dependencies {
7276 implementation(libs.runner)
@@ -75,6 +79,11 @@ kotlin {
7579 }
7680 }
7781
82+ val androidHostTest by getting {
83+ dependencies {
84+ }
85+ }
86+
7887 val wasmJsMain by getting {
7988 dependencies {
8089
@@ -128,6 +137,8 @@ kotlin {
128137 tasks.named(" sonar" ) {
129138 dependsOn(subprojects.map { it.tasks.named(" koverXmlReport" ) })
130139 }
140+ tasks.withType<AndroidLintTask >().all { enabled = false }
141+ tasks.withType<Javadoc >().all { enabled = false }
131142}
132143
133144publishing {
You can’t perform that action at this time.
0 commit comments