Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an issue that Android Instrumentation Test fails #895

Merged
merged 12 commits into from Aug 29, 2022
4 changes: 2 additions & 2 deletions modules/mockk-agent-android/build.gradle.kts
Expand Up @@ -12,6 +12,8 @@ description = "Android instrumented testing MockK inline mocking agent"
val mavenName: String by extra("MockK Android Agent")
val mavenDescription: String by extra("${project.description}")

val dispatcherJarResPath: Provider<Directory> = layout.buildDirectory.dir("generated/dispatcher-jar")

kubode marked this conversation as resolved.
Show resolved Hide resolved
@Suppress("UnstableApiUsage")
android {
externalNativeBuild {
Expand Down Expand Up @@ -60,8 +62,6 @@ dependencies {
androidClassesDex(projects.modules.mockkAgentAndroidDispatcher)
}

val dispatcherJarResPath: Provider<Directory> = layout.buildDirectory.dir("generated/dispatcher-jar")

val packageDispatcherJar by tasks.registering(Jar::class) {
group = LifecycleBasePlugin.BUILD_GROUP
from(androidClassesDex.asFileTree)
Expand Down