Skip to content

Commit

Permalink
Merge pull request #18 from Automattic/rename-extension
Browse files Browse the repository at this point in the history
feat: rename extension
  • Loading branch information
wzieba authored Dec 1, 2023
2 parents a153cf3 + b48c730 commit dded3e4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import org.gradle.invocation.DefaultGradle
import javax.inject.Inject
import kotlin.time.ExperimentalTime

const val EXTENSION_NAME = "tracks"

@Suppress("MaxLineLength")
private const val NO_GRADLE_ENTERPRISE_PLUGIN_MESSAGE =
"The project has no Gradle Enterprise plugin enabled and `attachGradleScanId` option enabled. No metric will be send in this configuration."
Expand All @@ -43,7 +41,7 @@ class BuildTimePlugin @Inject constructor(
val analyticsReporter = AppsMetricsReporter(project.logger)

val extension =
project.extensions.create(EXTENSION_NAME, MeasureBuildsExtension::class.java, project)
project.extensions.create("measureBuilds", MeasureBuildsExtension::class.java, project)

val encodedUser: String = prepareUser(project, extension)

Expand Down

0 comments on commit dded3e4

Please sign in to comment.