Skip to content

Commit

Permalink
Remove usage of internal extension function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chelombitko committed Jul 12, 2024
1 parent cf3c3bd commit eeff970
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaBasePlugin
import org.gradle.api.tasks.TaskProvider
import org.gradle.configurationcache.extensions.capitalized

class MarathonPlugin : Plugin<Project> {

Expand Down Expand Up @@ -62,7 +61,7 @@ class MarathonPlugin : Plugin<Project> {
testComponent: Component,
marathonWorkerTask: TaskProvider<MarathonWorkerRunTask>
): TaskProvider<MarathonScheduleTestsToWorkerTask> =
tasks.register("$TASK_PREFIX${variant.name.capitalized()}AndroidTest", MarathonScheduleTestsToWorkerTask::class.java) {
tasks.register(variant.computeTaskName(TASK_PREFIX, "androidTest"), MarathonScheduleTestsToWorkerTask::class.java) {
group = JavaBasePlugin.VERIFICATION_GROUP
description = "Runs instrumentation tests on all the connected devices for '${variant.name}' " +
"variation and generates a report with screenshots"
Expand Down

0 comments on commit eeff970

Please sign in to comment.