Skip to content

Commit ded0334

Browse files
committed
SLCORE-267 Update to Sonar Plugin API 8.2
1 parent 573f510 commit ded0334

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/src/main/java/org/sonarsource/sonarlint/core/plugin/PluginCacheLoader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
public class PluginCacheLoader {
4040

41-
private static final String IMPLEMENTED_SQ_API = "8.1";
41+
private static final String IMPLEMENTED_SQ_API = "8.2";
4242

4343
private static final Logger LOG = Loggers.get(PluginCacheLoader.class);
4444

core/src/test/java/org/sonarsource/sonarlint/core/plugin/PluginCacheLoaderTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
import org.sonar.api.utils.MessageException;
4242
import org.sonar.api.utils.ZipUtils;
4343
import org.sonar.api.utils.log.LogTesterJUnit5;
44-
import org.sonarsource.sonarlint.core.client.api.connected.ConnectedGlobalConfiguration;
4544
import org.sonarsource.sonarlint.core.client.api.common.Language;
45+
import org.sonarsource.sonarlint.core.client.api.connected.ConnectedGlobalConfiguration;
4646
import org.sonarsource.sonarlint.core.client.api.exceptions.StorageException;
4747
import org.sonarsource.sonarlint.core.container.connected.validate.PluginVersionChecker;
4848
import org.sonarsource.sonarlint.core.plugin.PluginIndex.PluginReference;
@@ -134,7 +134,7 @@ public void load_plugin_skip_unsupported_plugins_api_version(@TempDir Path stora
134134
when(pluginVersionChecker.getMinimumVersion(FAKE_PLUGIN_KEY)).thenReturn("2.0");
135135

136136
assertThat(underTest.load()).hasSize(0);
137-
assertThat(logsWithoutStartStop()).contains("Code analyzer 'pluginkey' needs plugin API 99.9 while SonarLint supports only up to 8.1. Skip loading it.");
137+
assertThat(logsWithoutStartStop()).contains("Code analyzer 'pluginkey' needs plugin API 99.9 while SonarLint supports only up to 8.2. Skip loading it.");
138138
}
139139

140140
@Test

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<properties>
3434
<!-- Don't forget to also update PluginCacheLoader::IMPLEMENTED_SQ_API -->
35-
<sonarqube.version>8.1.0.31237</sonarqube.version>
35+
<sonarqube.version>8.2.0.32929</sonarqube.version>
3636
<sonar-ws.version>6.7</sonar-ws.version>
3737
<sonar-scanner-protocol.version>6.7</sonar-scanner-protocol.version>
3838
<grpc.version>1.22.0</grpc.version>

0 commit comments

Comments
 (0)