Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Track and visualize Android resource usage across your entire project with intui

## Requirements

- Android Studio Hedgehog (2023.1.1) or newer
- IntelliJ IDEA 2023.3 or newer with Android plugin
- Android Studio Ladybug (2025.2.1) or newer
- IntelliJ IDEA 2025.2 or newer with Android plugin

## Installation

Expand Down
15 changes: 12 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,17 @@ dependencies {

// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
intellijPlatform {
// androidStudio(providers.gradleProperty("platformVersion"))
local("/Applications/Android Studio.app") // macOS path
// Use different IDE configuration for CI vs local development
val isCI = System.getenv("CI") != null

if (isCI) {
// CI: Download Android Studio
androidStudio(providers.gradleProperty("platformVersion"))
} else {
// Local: Use installed Android Studio
local("/Applications/Android Studio.app") // macOS path
}

// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })

Expand Down Expand Up @@ -155,4 +164,4 @@ intellijPlatformTesting {
}
}
}
}
}
Loading