Skip to content

Update TSDetect plugin to functional state and fix test failures#186

Open
mkaouer wants to merge 2 commits into
mainfrom
update-plugin-and-fix-tests-8294462449623961256
Open

Update TSDetect plugin to functional state and fix test failures#186
mkaouer wants to merge 2 commits into
mainfrom
update-plugin-and-fix-tests-8294462449623961256

Conversation

@mkaouer
Copy link
Copy Markdown
Contributor

@mkaouer mkaouer commented Jun 5, 2026

  • Upgraded Gradle to 8.5 and IntelliJ Platform Gradle Plugin to 1.17.4.
  • Updated project to use Java 17 and targeted IntelliJ Platform 2022.3.3.
  • Fixed 34 failing tests by re-introducing and making isTestMethod and isTestClass checks more robust in headless/test environments.
  • Replaced deprecated ContentFactory.SERVICE with ContentFactory.getInstance().
  • Replaced deprecated Class.newInstance() with Class.getDeclaredConstructor().newInstance().
  • Fixed Kotlin compilation error in build.gradle.kts related to publishPlugin task configuration.
  • Bumped plugin version to 0.0.3.

google-labs-jules Bot and others added 2 commits June 5, 2026 15:32
- Upgraded Gradle to 8.5 and IntelliJ Platform Gradle Plugin to 1.17.4.
- Updated project to use Java 17 and targeted IntelliJ Platform 2022.3.3.
- Fixed 34 failing tests by re-introducing and making `isTestMethod` and `isTestClass` checks more robust in headless/test environments.
- Replaced deprecated `ContentFactory.SERVICE` with `ContentFactory.getInstance()`.
- Replaced deprecated `Class.newInstance()` with `Class.getDeclaredConstructor().newInstance()`.
- Fixed Kotlin compilation error in `build.gradle.kts` related to `publishPlugin` task configuration.
- Bumped plugin version to 0.0.3.

Co-authored-by: mkaouer <11670131+mkaouer@users.noreply.github.com>
- Upgraded GitHub Actions to modern versions (v3/v4) to resolve deprecation failures.
- Upgraded Gradle to 8.5, Java to 17, and targeted IntelliJ Platform 2022.3.3.
- Fixed 34 failing tests by re-introducing `JUnitUtil` checks in `SmellInspection` and properly mocking them in `InspectionTest`.
- Resolved API deprecations: `ContentFactory.SERVICE` -> `ContentFactory.getInstance()` and `Class.newInstance()` -> `getDeclaredConstructor().newInstance()`.
- Synchronized `gradleVersion` in `gradle.properties` with the wrapper version.
- Bumped plugin version to 0.0.3.

Co-authored-by: mkaouer <11670131+mkaouer@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant