Skip to content

Commit

Permalink
Does... this work
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Oct 15, 2023
1 parent 53c1be7 commit 3db8b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import java.util.Locale
import javax.inject.Inject
import org.gradle.api.DefaultTask
import org.gradle.api.NamedDomainObjectProvider
import org.gradle.api.artifacts.ResolvableConfiguration
import org.gradle.api.artifacts.DependencyScopeConfiguration
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.file.RegularFile
import org.gradle.api.file.RegularFileProperty
Expand Down Expand Up @@ -137,7 +137,7 @@ constructor(private val execOps: ExecOperations) : DefaultTask() {
enableAssertions: Property<Boolean>,
extensionJvmArgs: ListProperty<String>,
traceReferencesArgs: ListProperty<String>,
r8Configuration: NamedDomainObjectProvider<ResolvableConfiguration>
r8Configuration: NamedDomainObjectProvider<DependencyScopeConfiguration>
): InferAndroidTestKeepRules.() -> Unit = {
if (automaticallyAddR8Repo.get()) {
// This is the maven repo where r8 tagged releases are hosted. Only the r8 artifact is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public class KeeperPlugin : Plugin<Project> {
) {
// Set up r8 configuration
val r8Configuration =
configurations.resolvable(CONFIGURATION_NAME) {
configurations.dependencyScope(CONFIGURATION_NAME) {
description = "R8 dependencies for Keeper. This is used solely for the TraceReferences CLI"
isVisible = false
defaultDependencies {
Expand Down

0 comments on commit 3db8b7e

Please sign in to comment.