Skip to content

Commit

Permalink
removed internal api use, removed support for IDE 2022.3
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Dec 4, 2023
1 parent 6b45067 commit 2bf145a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion midscribe/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ dependencies {
implementation(libs.commons.io)
implementation(libs.asciidoctorj)
implementation(libs.asciidoctorj.pdf)
implementation(libs.asciidoctorj.pdf)
implementation(libs.asciidoctorj.tabbed.code)
implementation(libs.velocity)

Expand Down
4 changes: 1 addition & 3 deletions studio-idea-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ version = properties("pluginVersion")

val versionDetails: groovy.lang.Closure<com.palantir.gradle.gitversion.VersionDetails> by extra

// Configure project's dependencies
dependencies {
antlr("org.antlr:antlr4:4.10.1") {
exclude("com.ibm.icu")
// exclude("org.antlr")
}
implementation("org.antlr:antlr4-runtime:4.10.1")
implementation("org.antlr:antlr4-intellij-adaptor:0.1")
Expand Down Expand Up @@ -83,8 +81,8 @@ dependencies {

runtimeOnly(libs.jaxb.runtime) // needed because of NamespacePrefixMapper class
runtimeOnly(libs.spring.core) {
// spring-core needed because of DebugDumpable impl uses spring ReflectionUtils class
isTransitive = false
because("spring-core needed because of DebugDumpable impl uses spring ReflectionUtils class")
}

testImplementation(platform("org.junit:junit-bom:5.9.1"))
Expand Down
4 changes: 2 additions & 2 deletions studio-idea-plugin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ pluginVersion = 4.9.0

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#intellij-platform-based-products-of-recent-ide-versions
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 223
pluginSinceBuild = 231
pluginUntilBuild = 233.*

# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions.
pluginVerifierIdeVersions = IC-2022.3.3, IC-2023.1.5, IC-2023.2.2, IC-2023.3
pluginVerifierIdeVersions = IC-2023.1.5, IC-2023.2.2, IC-2023.3

platformType = IC
#platformVersion = LATEST-EAP-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.evolveum.midpoint.studio.action;

import com.intellij.ide.ui.customization.CustomizableActionGroupProvider;
import com.intellij.ui.ExperimentalUI;
import com.intellij.ui.NewUI;

/**
* Created by Viliam Repan (lazyman).
Expand All @@ -14,7 +14,7 @@ public void registerGroups(CustomizableActionGroupRegistrar registrar) {
return;
}

if (!ExperimentalUI.isNewUI()) {
if (!NewUI.isEnabled()) {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.intellij.openapi.startup.StartupActivity;
import com.intellij.profile.codeInspection.ProjectInspectionProfileManager;
import com.intellij.project.ProjectKt;
import com.intellij.ui.ExperimentalUI;
import com.intellij.ui.NewUI;
import com.intellij.util.ModalityUiUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.idea.maven.project.MavenProjectsManager;
Expand Down Expand Up @@ -100,7 +100,7 @@ private void initializeInspections(Project project) {
}

private void initializeUI() {
if (!ExperimentalUI.isNewUI()) {
if (!NewUI.isEnabled()) {
return;
}

Expand Down

0 comments on commit 2bf145a

Please sign in to comment.