Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rbro112 committed Oct 9, 2023
1 parent 3a96fdd commit 9bcb6a6
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,20 +122,26 @@ class EmergePlugin : Plugin<Project> {
) {
performanceProject.pluginManager.apply(ANDROID_TEST_PLUGIN_ID)

configurePerformanceProject(performanceProject, appProject)

appProject.logger.debug(
"Configuring performance project ${performanceProject.path} from appProject ${appProject.path}"
)
configurePerformanceProject(performanceProject, appProject)
appProject.logger.debug(
"Configuring performance project ${performanceProject.path} from appProject ${appProject.path} complete"
)

performanceProject.pluginManager.withPlugin(ANDROID_TEST_PLUGIN_ID) { _ ->
appProject.logger.debug(
"Configuring performance project ${performanceProject.path} from appProject ${appProject.path} with android test plugin"
"Registering performance project tasks for ${performanceProject.path} from appProject ${appProject.path} with android test plugin"
)
val androidTestComponents = performanceProject.extensions.getByType(
TestAndroidComponentsExtension::class.java
)

androidTestComponents.onVariants { perfVariant ->
appProject.logger.debug(
"Registering performance project tasks for ${performanceProject.path} from appProject ${appProject.path} with android test plugin for variant ${perfVariant.name}"
)
registerPerformanceTasks(
appProject,
performanceProject,
Expand Down

0 comments on commit 9bcb6a6

Please sign in to comment.