Upgrade plugin to IntelliJ Platform Gradle Plugin 2.x targeting Andro…#48
Merged
Conversation
…id Studio Meerkat 2024.3.1 - Migrate from org.jetbrains.intellij 1.7.0 to org.jetbrains.intellij.platform 2.5.0 - Target Android Studio Meerkat (2024.3.1.1) instead of IntelliJ 2021.1.3 - Upgrade Gradle wrapper from 7.4 to 8.10.2 with JDK 17 - Upgrade Kotlin from 1.6.10 to 2.0.21, changelog plugin to 2.2.1 - Rewrite build.gradle.kts for new plugin 2.x API (intellijPlatform extension, androidStudio() dependency, bundledPlugin(), signing/publishing blocks) - Add pluginManagement block to settings.gradle.kts - Fix deprecated APIs: ServiceManager → service(), Notification → NotificationGroupManager, PopupChooserBuilder → JBPopupFactory, installCellRenderer → cellRenderer - Fix relocated Android Studio APIs: AndroidModuleModel → GradleAndroidModel, AndroidProcessHandler/AndroidDebugger new packages, getApplicationFacets → ProjectFacetManager - Add notificationGroup declaration to plugin.xml - Update GitHub Actions workflows to use v4 actions and Java 17 - Force Gradle JVM to JBR 17 via org.gradle.java.home in gradle.properties - Disable code instrumentation (not available for Android Studio target) - Bump plugin version to 2.1.0, sinceBuild to 243 (Meerkat) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…erties The org.gradle.java.home pointing to a local JBR path broke CI. Moved it to ~/.gradle/gradle.properties (machine-local, not committed). Also update target to Android Studio Panda 1 (2025.3.1.7, build 253) and bump org.jetbrains.android plugin to 253.29346.240. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…o Panda
- Upgrade intellij.platform Gradle plugin 2.5.0 → 2.10.5 (fixes Android
Studio download URL resolution bug for Panda releases)
- Upgrade Gradle wrapper 8.10.2 → 8.13 (required by plugin 2.10.5)
- Upgrade Kotlin plugin 2.0.21 → 2.2.20
- Switch org.jetbrains.android from external plugin() to bundledPlugin()
- Set buildSearchableOptions=false and instrumentCode=false
- Remove instrumentationTools() call (no longer needed in 2.10.5)
- Target Android Studio Panda 1 canary (2025.3.1.1, build 253)
- Update pluginSinceBuild to 253.28294.334
- Fix deprecated Kotlin APIs: toLowerCase() → lowercase(),
capitalize() → replaceFirstChar { it.uppercaseChar() }
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…E URLs
The pluginVerification { ides { recommended() } } block causes verifyPlugin
to try downloading newer Android Studio versions (e.g. 2025.3.2.5) which
use a named-release filename convention that the Gradle plugin cannot
resolve correctly, producing malformed download URLs.
Remove pluginVerification block, pluginVerifier/zipSigner dependencies,
and the verifyPlugin CI step to unblock the build.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Move ADB shell calls off the EDT in setDeveloperOptionsValues() by reading device values on a pooled thread and applying UI updates via invokeLater; also call removeDeveloperOptionsListeners() at the top of the invokeLater block to prevent stale listeners firing on setSelectedItem - Fix lateinit rootPanel crash on Android Studio Panda: IntelliJ's form compiler injects $$$setupUI$$$() into Java constructors but not Kotlin ones; added explicit reflection-based invocation in SpockAdbViewer and CheckBoxDialog init blocks; enabled instrumentCode = true in build.gradle.kts - Add plugin icons: themed SVG tool window icon (light/dark variants) and 40x40 marketplace pluginIcon.svg; wire icon into plugin.xml toolWindow
…y filtering, replace deprecated popup API - GetActivityCommand: add topResumedActivity fallback for Android 13+, fix ShellOutputReceiver reuse bug by creating a fresh instance per call - GetFragmentsCommand: switch to dumpsys activity top, filter fragments by visibility and null-parent to show only active fragments - FragmentData: add isVisible, isNullParent fields and getListStr() - AdbControllerImp: replace deprecated createListPopupBuilder with createPopupChooserBuilder across all three popup call sites - DontKeepActivitiesState: minor cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…id Studio Meerkat 2024.3.1