Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve intermediate output location and rev graph-analytics-plugin to v1.0.0 #15

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# All files are owned by the maintainers
* @eBayMobile/metrics-for-develocity-plugin-team
* @eBay/metrics-for-develocity-plugin-team
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
ebay-graphAnalytics = "0.0.1"
ebay-graphAnalytics = "1.0.0"
# https://plugins.gradle.org/plugin/com.gradle.develocity
gradle-develocity = "3.18"
gradle-pluginPublish = "1.2.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ internal class ProjectCostPlugin @Inject constructor(
project.tasks.register(taskName, ProjectCostReportTask::class.java).also { taskProvider ->
taskProvider.configure { task ->
with(task) {
reportFile.set(project.layout.buildDirectory.file("reports/projectCost/projectCostReport-$reportDuration.json"))
reportFile.set(project.layout.buildDirectory.file("projectCost/intermediate/$taskName.json"))
}
}
taskProvider.inputsFromDuration(project, reportDuration, ProjectCostSummarizer.ID)
Expand All @@ -50,7 +50,7 @@ internal class ProjectCostPlugin @Inject constructor(

project.tasks.addRule(
"Pattern: $PROJECT_COST_TASK_PREFIX-<Java Duration String> " +
"Creates a project-specific report showing details about what has contibuted to the overall" +
"Creates a project-specific report showing details about what has contributed to the overall" +
"project build cost."
) { taskName ->
val matcher = PROJECT_COST_TASK_PATTERN.matcher(taskName)
Expand Down