Skip to content

Commit

Permalink
Update to PMD 6.47.0 and higher IDE versions
Browse files Browse the repository at this point in the history
  • Loading branch information
amitdev committed Jun 28, 2022
1 parent 971e501 commit 83227fe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# PMDPlugin Changelog

## [Unreleased]
### Added
- Update to PMD version 6.47.0
- Support for sorting violations by severity

## [1.8.22]
### Added
- Update to PMD version 6.44.0
Expand Down
14 changes: 7 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

fun properties(key: String) = project.findProperty(key).toString()

val pmdVersion = "6.44.0"
val pmdVersion = "6.47.0"

plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.5.10"
id("org.jetbrains.intellij") version "1.0"
id("org.jetbrains.kotlin.jvm") version "1.6.20"
id("org.jetbrains.intellij") version "1.5.3"
id("org.jetbrains.changelog") version "1.1.2"
}

Expand Down Expand Up @@ -54,13 +54,13 @@ changelog {
}

tasks {
// Set the compatibility versions to 1.8
// Set the compatibility versions to 11
withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
sourceCompatibility = "11"
targetCompatibility = "11"
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "11"
}

patchPluginXml {
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

# pluginGroup = com.intellij.plugins.bodhi.pmd
pluginName = PMDPlugin
pluginVersion = 1.8.22
pluginVersion = 1.8.23

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild = 201.0
pluginUntilBuild = 214.0
pluginSinceBuild = 211.0
pluginUntilBuild = 240.0

# 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 = 2020.2.4, 2020.3.4, 2021.1.1
pluginVerifierIdeVersions = 2020.3.4, 2021.1.1, 2022.1.3

platformType = IC
platformVersion = 2021.1.1
Expand Down

0 comments on commit 83227fe

Please sign in to comment.