Implemented collecting projectId from Gradle

#KT-45337 Fixed
This commit is contained in:
Andrey Uskov
2021-02-21 11:38:38 +03:00
parent 4401589974
commit 63925ee018
5 changed files with 43 additions and 2 deletions
@@ -69,6 +69,7 @@ class KotlinBuildStatHandler {
}
internal fun reportGlobalMetrics(gradle: Gradle, sessionLogger: BuildSessionLogger) {
sessionLogger.report(StringMetrics.PROJECT_PATH, gradle.rootProject.projectDir.absolutePath)
System.getProperty("os.name")?.also {
sessionLogger.report(StringMetrics.OS_TYPE, System.getProperty("os.name"))
}