Skip to content

Commit

Permalink
Increase minimum version to IDEA 2023.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jshiell committed Feb 4, 2024
1 parent 8b406d1 commit 246f39e
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Java 11
- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: liberica

- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
cat ./CHANGELOG.md | grep "$BUILD_TAG" | sed 's%^\*[[:space:]]*\*\*[0-9.]*\*\*[[:space:]]*%%g' > ${{ github.workspace }}-CHANGELOG.txt
echo "build_tag=${BUILD_TAG}" >> $GITHUB_OUTPUT
- name: Set up Java 11
- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: liberica

- name: Build
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# CheckStyle-IDEA Changelog

# CheckStyle-IDEA Changel
* **5.87.0** New: Now built against IDEA 2023.1.5 (was 2022.1.4).
* **5.86.0** New: Added Checkstyle 10.13.0, 10.12.7.
* **5.85.1** Fixed: EDT access error in commit dialogue (#626).
* **5.85.0** New: Added Checkstyle 10.12.5.
Expand Down
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ repositories {
// Project Metadata
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

version = '5.86.0'
version = '5.87.0'

intellij {
version = 'IC-2022.1.4'
version = 'IC-2023.1.5'
pluginName = 'CheckStyle-IDEA'
updateSinceUntilBuild = false
instrumentCode = false
Expand Down Expand Up @@ -49,14 +49,16 @@ configurations.all {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
languageVersion = JavaLanguageVersion.of(17)
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:deprecation'
options.release.set(11)
options.release.set(17)

if (it.name == 'compileCsaccessJava' || it.name == 'compileCsaccessTestJava') {
options.compilerArgs << '-Xlint:unchecked'
Expand Down
6 changes: 4 additions & 2 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ dependencies {
// Compilation
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.NotNull;

import javax.annotation.Nullable;
import org.jetbrains.annotations.Nullable;

public class ProjectPaths {

Expand Down
9 changes: 3 additions & 6 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
</p>
]]>
</description>
<version>5.86.0</version>
<idea-version since-build="221.6008.13"/>
<version>5.87.0</version>
<idea-version since-build="231.9392.1"/>
<vendor url="https://infernus.org/" email="jamie@infernus.org">Jamie Shiell</vendor>

<depends>com.intellij.modules.java</depends>

<change-notes>
<![CDATA[
<ul>
<li>5.87.0: New: Now built against IDEA 2023.1.5 (was 2022.1.4).</li>
<li>5.86.0: New: Added Checkstyle 10.13.0, 10.12.7.</li>
<li>5.85.1: Fixed: EDT access error in commit dialogue (#626).</li>
<li>5.85.0: New: Added Checkstyle 10.12.5.</li>
Expand All @@ -38,10 +39,6 @@
<li>5.78.0: New: Added Checkstyle 10.9.3.</li>
<li>5.78.0: Fixed: Colour mismatch in new UI (#608).</li>
<li>5.78.0: Fixed: Improved action update handling to reduce pauses (#601).</li>
<li>5.77.0: Fixed: Remove constructor injection from CheckerFactory for 2023.x compatibility (#604).</li>
<li>5.77.0: New: Now built against IDEA 2022.1.4 (was 2021.3.3).</li>
<li>5.77.0: New: Added Checkstyle 10.8.1.</li>
<li>5.76.0: New: Added Checkstyle 10.7.0.</li>
<li><em>For older changes please see the changelog.</em></li>
</ul>
]]>
Expand Down

0 comments on commit 246f39e

Please sign in to comment.