Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Optimize Hilt build #30

Merged
merged 2 commits into from
Feb 11, 2022
Merged

Optimize Hilt build #30

merged 2 commits into from
Feb 11, 2022

Conversation

Goooler
Copy link
Owner

@Goooler Goooler commented Feb 11, 2022

Comment on lines +22 to +27
plugins.withId(Plugins.hilt) {
configure<HiltExtension> {
enableAggregatingTask = true
}
}

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -162,6 +162,7 @@ inline fun <reified T : BaseExtension> Project.setupCommon(
}
applyPlugins(Plugins.kotlinParcelize, Plugins.hilt)
kapt {
correctErrorTypes = true
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@Goooler
Copy link
Owner Author

Goooler commented Feb 11, 2022

Ubuntu:

BUILD SUCCESSFUL in 10m 4s
796 actionable tasks: 476 executed, 320 from cache
Configuration cache entry stored.

Mac:

BUILD SUCCESSFUL in 10m 8s
796 actionable tasks: 476 executed, 320 from cache
Configuration cache entry stored.

Win:

BUILD SUCCESSFUL in 13m 17s
796 actionable tasks: 476 executed, 320 from cache
Configuration cache entry stored.

@Goooler
Copy link
Owner Author

Goooler commented Feb 11, 2022

Local:

BUILD SUCCESSFUL in 3s
803 actionable tasks: 51 executed, 708 from cache, 44 up-to-date
Configuration cache entry reused.

@Goooler
Copy link
Owner Author

Goooler commented Feb 11, 2022

Mac:

BUILD SUCCESSFUL in 6m 51s
796 actionable tasks: 432 executed, 364 from cache
Configuration cache entry stored.

Ubuntu:

BUILD SUCCESSFUL in 8m 16s
796 actionable tasks: 474 executed, 322 from cache
Configuration cache entry stored.

Win:

BUILD SUCCESSFUL in 12m 25s
796 actionable tasks: 476 executed, 320 from cache
Configuration cache entry stored.

@Goooler Goooler merged commit fbb64d0 into kotlin Feb 11, 2022
@Goooler Goooler deleted the hilt branch February 11, 2022 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant