From 6acb03bdd0f2bc29de31ce779547414a1e264d97 Mon Sep 17 00:00:00 2001 From: XenoAmess Date: Fri, 15 Apr 2022 03:30:58 +0800 Subject: [PATCH 1/3] version to 2.1.1.4x-SNAPSHOT;Fix idea 2022.1 Ultimate compatibility issue --- idea-plugin/README.md | 2 +- idea-plugin/gradle.properties | 4 ++-- idea-plugin/p3c-common/build.gradle | 5 ++++- idea-plugin/p3c-idea/src/main/resources/META-INF/plugin.xml | 3 +++ p3c-pmd/README.md | 2 +- p3c-pmd/pom.xml | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/idea-plugin/README.md b/idea-plugin/README.md index eadf0df9f..7f3553569 100644 --- a/idea-plugin/README.md +++ b/idea-plugin/README.md @@ -21,7 +21,7 @@ cd p3c-idea ## Use p3c-common as your plugin dependency ```groovy -compile 'com.xenoamess.p3c.idea:p3c-common:2.1.1.3x' +compile 'com.xenoamess.p3c.idea:p3c-common:2.1.1.4x-SNAPSHOT' ``` ## [中文使用手册](README_cn.md) ## Install diff --git a/idea-plugin/gradle.properties b/idea-plugin/gradle.properties index f154a19da..1daa4e96c 100644 --- a/idea-plugin/gradle.properties +++ b/idea-plugin/gradle.properties @@ -2,10 +2,10 @@ # See https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html # See https://www.jetbrains.com/intellij-repository/releases/ # See https://www.jetbrains.com/intellij-repository/snapshots/ -idea_version=201.7223.91 +idea_version=2022.1 #idea_version=211-EAP-SNAPSHOT #idea_version=181.5540.23 #idea_version=145.258.11 plugin_name=Alibaba Java Coding Guidelines systemProp.file.encoding=UTF-8 -plugin_version=2.1.1.3x +plugin_version=2.1.1.4x-SNAPSHOT diff --git a/idea-plugin/p3c-common/build.gradle b/idea-plugin/p3c-common/build.gradle index a90726a74..5aec84fad 100644 --- a/idea-plugin/p3c-common/build.gradle +++ b/idea-plugin/p3c-common/build.gradle @@ -60,7 +60,10 @@ ext.isReleaseVersion = !version.endsWith("SNAPSHOT") dependencies { implementation group: 'org.freemarker', name: 'freemarker', version: '2.3.31' - implementation "com.xenoamess.p3c:p3c-pmd:$plugin_version" + implementation("com.xenoamess.p3c:p3c-pmd:$plugin_version") { + exclude group: 'org.apache.logging.log4j' + exclude group: 'org.slf4j' + } implementation group: 'org.javassist', name: 'javassist', version: '3.28.0-GA' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$project.kotlin_version" implementation "org.jetbrains.kotlin:kotlin-reflect:$project.kotlin_version" diff --git a/idea-plugin/p3c-idea/src/main/resources/META-INF/plugin.xml b/idea-plugin/p3c-idea/src/main/resources/META-INF/plugin.xml index 06abc9e79..0af98bbb6 100644 --- a/idea-plugin/p3c-idea/src/main/resources/META-INF/plugin.xml +++ b/idea-plugin/p3c-idea/src/main/resources/META-INF/plugin.xml @@ -29,6 +29,9 @@ ]]> 2.1.1.4x-SNAPSHOT +
  • Fix idea 2022.1 Ultimate compatibility issue
  • +