Skip to content

Commit

Permalink
Use reporting extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Aug 2, 2023
1 parent cfcba32 commit 9884582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ android {
applicationVariants.configureEach { variant ->
def copyArtifactList = tasks.register("copy${variant.name.capitalize()}ArtifactList", Copy) {
dependsOn tasks.named("licensee${variant.name.capitalize()}")
from project.extensions.getByType(ReportingExtension).file("licensee/${variant.name}/artifacts.json")
from reporting.file("licensee/${variant.name}/artifacts.json")
into layout.buildDirectory.dir("generated/dependencyAssets/")
}
tasks.named("merge${variant.name.capitalize()}Assets").configure {
Expand Down

0 comments on commit 9884582

Please sign in to comment.