Merge pull request #1667 from SimonMarquis/patch-2

[Fix] Add missing unit test dependency for JVM modules
pull/1689/head
Don Turner 1 week ago committed by GitHub
commit 6bb75909fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,6 +17,8 @@
import com.google.samples.apps.nowinandroid.configureKotlinJvm
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies
import org.gradle.kotlin.dsl.kotlin
class JvmLibraryConventionPlugin : Plugin<Project> {
override fun apply(target: Project) {
@ -26,6 +28,9 @@ class JvmLibraryConventionPlugin : Plugin<Project> {
apply("nowinandroid.android.lint")
}
configureKotlinJvm()
dependencies {
add("testImplementation", kotlin("test"))
}
}
}
}

Loading…
Cancel
Save