Skip to content

Commit

Permalink
fix: bumped telemetry to 1.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Dietisheim <[email protected]>
  • Loading branch information
adietish authored and angelozerr committed Aug 20, 2024
1 parent cc6a65b commit 764afaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platformType=IC
platformVersion=2023.2
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformPlugins=com.intellij.java, maven, gradle-java, properties, yaml, com.redhat.devtools.intellij.telemetry:1.1.0.52
platformPlugins=com.intellij.java, maven, gradle-java, properties, yaml, com.redhat.devtools.intellij.telemetry:1.2.1.62
# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion=8.6
channel=nightly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
******************************************************************************/
package com.redhat.devtools.intellij.quarkus;

import com.intellij.ide.plugins.PluginManager;
import com.redhat.devtools.intellij.telemetry.core.service.TelemetryMessageBuilder;
import com.redhat.devtools.intellij.telemetry.core.util.Lazy;

Expand All @@ -24,7 +25,9 @@ public class TelemetryService {

private static final TelemetryService INSTANCE = new TelemetryService();

private final Lazy<TelemetryMessageBuilder> builder = new Lazy<>(() -> new TelemetryMessageBuilder(TelemetryService.class.getClassLoader()));
private final Lazy<TelemetryMessageBuilder> builder = new Lazy<>(() ->
new TelemetryMessageBuilder(PluginManager.getPluginByClass(this.getClass()))
);

public static TelemetryMessageBuilder instance() {
return INSTANCE.builder.get();
Expand Down

0 comments on commit 764afaf

Please sign in to comment.