Skip to content

Commit

Permalink
Merge pull request #10 from SumoLogic-Labs/astha-1.15.0
Browse files Browse the repository at this point in the history
Upgrade intellij compatibility
  • Loading branch information
aluczakSumo authored Aug 10, 2023
2 parents 619198f + 8aa25ab commit ca90c1a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.13.3'
id 'org.jetbrains.intellij' version '1.15.0'
}

group 'com.sumologic'
version '1.0.5'
version '1.0.6'

repositories {
mavenCentral()
Expand All @@ -16,7 +16,7 @@ dependencies {

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2023.1'
version = '2023.2'
plugins = ['com.intellij.java']
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private String resolveProjectPath(Module module) {
private List<String> findTestTaskNames(Module module) {
String externalProjectPath = ExternalSystemApiUtil.getExternalProjectPath(module);
ExternalProjectInfo externalProjectInfo = ExternalSystemUtil.getExternalProjectInfo(module.getProject(), GRADLE, externalProjectPath);
DataNode<ModuleData> moduleDataDataNode = ExternalSystemApiUtil.find(externalProjectInfo.getExternalProjectStructure(), ProjectKeys.MODULE, it -> it.getData().getLinkedExternalProjectPath().equals(externalProjectPath));
DataNode<ModuleData> moduleDataDataNode = ExternalSystemApiUtil.findChild(externalProjectInfo.getExternalProjectStructure(), ProjectKeys.MODULE, it -> it.getData().getLinkedExternalProjectPath().equals(externalProjectPath));
List<String> testTaskNames = ExternalSystemApiUtil.findAll(moduleDataDataNode, ProjectKeys.TASK).stream().filter(it -> it.getData().getType().equals("org.gradle.api.tasks.testing.Test")).map(it -> it.getData().getName()).collect(Collectors.toList());
return testTaskNames;
}
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
</tr>
</thead>
<tbody>
<tr>
<td>1.0.6</td>
<td>Updated IntelliJ IDEA dependency</td>
</tr>
<tr>
<td>1.0.5</td>
<td>Updated IntelliJ IDEA dependency</td>
Expand Down

0 comments on commit ca90c1a

Please sign in to comment.