Skip to content

Commit

Permalink
#33 Incompatible with 2022.2
Browse files Browse the repository at this point in the history
  • Loading branch information
denis_kusakin@epam.com committed Sep 18, 2022
1 parent f2be995 commit 1b57a19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
buildscript {
ext.kotlin_version = '1.5.10'
ext.kotlin_version = '1.7.10'

repositories {
mavenCentral()
maven {
url 'https://www.jetbrains.com/intellij-repository/releases'
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

plugins {
id 'org.jetbrains.intellij' version '1.5.3'
id 'org.jetbrains.intellij' version '1.9.0'
}

group 'org.deniskusakin.aem'
version '0.2.10'
version '0.3.10'

apply plugin: 'kotlin'

Expand All @@ -36,5 +39,5 @@ compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}
intellij {
version = '2022.1'
version = '2022.2'
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class EditorDecorator(private val project: Project) : EditorNotifications.Provid
execAction.registerCustomShortcutSet(CommonShortcuts.CTRL_ENTER, fileEditor.component)
val actionGroup = DefaultActionGroup(execAction, AemGrSelectServerAction(project, file, currentServerName))
val menu = ActionManager.getInstance().createActionToolbar("AemGroovyConsole", actionGroup, true)

menu.targetComponent = fileEditor.component
return EditorHeaderComponent().apply {
add(menu.component)
}
Expand Down

0 comments on commit 1b57a19

Please sign in to comment.