Skip to content

Commit

Permalink
Fixing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeTheSalad committed Oct 5, 2023
1 parent 7dbe16e commit 9c5c10c
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ public void execute(Variant variant) {
Configuration configuration = configurations.get(variant.getBuildType());
if (configuration == null) {
configuration = project.getConfigurations().create(variant.getBuildType() + "ByteBuddy", new VariantConfigurationConfigurationAction(project,
this.configuration,
variant.getBuildType()));
this.configuration,
variant.getBuildType()));
Configuration previous = configurations.putIfAbsent(variant.getBuildType(), configuration);
if (previous != null) {
configuration = previous;
Expand All @@ -173,13 +173,13 @@ public void execute(Variant variant) {
TRANSFORMATION_DISPATCHER.accept(project, variant, configuration, null);
} else {
Provider<ByteBuddyAndroidService> byteBuddyAndroidServiceProvider = project.getGradle().getSharedServices().registerIfAbsent(variant.getName() + "ByteBuddyAndroidService",
ByteBuddyAndroidService.class,
new ByteBuddyAndroidService.ConfigurationAction(project.getExtensions().getByType(BaseExtension.class)));
ByteBuddyAndroidService.class,
new ByteBuddyAndroidService.ConfigurationAction(project.getExtensions().getByType(BaseExtension.class)));
FileCollection classPath = RuntimeClassPathResolver.INSTANCE.apply(variant);
variant.getInstrumentation().transformClassesWith(ByteBuddyAsmClassVisitorFactory.class, InstrumentationScope.ALL, new ByteBuddyTransformationConfiguration(project,
configuration,
byteBuddyAndroidServiceProvider,
classPath));
configuration,
byteBuddyAndroidServiceProvider,
classPath));
TRANSFORMATION_DISPATCHER.accept(project, variant, configuration, classPath);
}
}
Expand Down

0 comments on commit 9c5c10c

Please sign in to comment.