This commit is contained in:
Milos Kozak 2023-10-22 00:12:10 +02:00
commit f4a317cafd
13 changed files with 18 additions and 1 deletions

View file

@ -4,6 +4,7 @@ plugins {
id("kotlinx-serialization") id("kotlinx-serialization")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies") id("test-module-dependencies")
id("jacoco-module-dependencies")
} }
android { android {

View file

@ -4,6 +4,7 @@ plugins {
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies") id("test-module-dependencies")
id("jacoco-module-dependencies")
} }
android { android {

View file

@ -76,6 +76,12 @@ project.afterEvaluate {
it.add(path) it.add(path)
println("Collecting execution data from: $path") println("Collecting execution data from: $path")
} }
val androidPath = "${proj.buildDir}/outputs/code_coverage/${variant}AndroidTest/connected/"
val androidFiles = fileTree(androidPath)
androidFiles.forEach { file ->
it.add(file.path)
println("Collecting android execution data from: ${file.path}")
}
} }
} }
} }

View file

@ -3,8 +3,8 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("all-open-dependencies") id("all-open-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -2,6 +2,7 @@ plugins {
id("com.android.library") id("com.android.library")
id("kotlin-android") id("kotlin-android")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -2,6 +2,7 @@ plugins {
id("com.android.library") id("com.android.library")
id("kotlin-android") id("kotlin-android")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }

View file

@ -3,6 +3,7 @@ plugins {
id("kotlin-android") id("kotlin-android")
id("kotlin-kapt") id("kotlin-kapt")
id("android-module-dependencies") id("android-module-dependencies")
id("test-module-dependencies")
id("jacoco-module-dependencies") id("jacoco-module-dependencies")
} }