Skip to content

Commit

Permalink
Fix formatting for spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvanyo committed Apr 26, 2024
1 parent d44f1ac commit c00bd16
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.UnknownTaskException
import org.gradle.api.artifacts.Configuration
import org.gradle.api.file.Directory
import org.gradle.api.file.FileCollection
import org.gradle.api.file.RegularFile
import org.gradle.api.provider.Provider
Expand Down Expand Up @@ -291,8 +290,7 @@ public class KeeperPlugin : Plugin<Project> {
)
)

val prop =
layout.dir(inferAndroidTestUsageProvider.flatMap { it.outputProguardRules.asFile })
val prop = layout.dir(inferAndroidTestUsageProvider.flatMap { it.outputProguardRules.asFile })

configureR8Task(appVariant.name) {
logger.debug("$TAG: Patching task '$name' with inferred androidTest proguard rules")
Expand Down Expand Up @@ -378,10 +376,7 @@ public class KeeperPlugin : Plugin<Project> {
) {
val targetName = interpolateR8TaskName(appVariant)

tasks
.withType(R8Task::class.java)
.matching { it.name == targetName }
.configureEach(action)
tasks.withType(R8Task::class.java).matching { it.name == targetName }.configureEach(action)
}

/**
Expand Down

0 comments on commit c00bd16

Please sign in to comment.