bod
02/27/2025, 8:47 AMlocalPath
for example that's what we do:
tasks {
val runLocalIde by intellijPlatformTesting.runIde.registering {
// Use a custom IJ/AS installation. Set this property in your local ~/.gradle/gradle.properties file.
// (for AS, it should be something like '/Applications/Android Studio.app/Contents')
// See <https://plugins.jetbrains.com/docs/intellij/android-studio.html#configuring-the-plugin-gradle-build-script>
providers.gradleProperty("apolloIntellijPlugin.ideDir").orNull?.let {
localPath.set(file(it))
}
}
Kate Liu
02/27/2025, 7:27 PMKate Liu
02/27/2025, 7:40 PM~/.gradle/gradle.properties
, or is it in your repo's gradle properties?Kate Liu
02/27/2025, 7:40 PM./gradlew runIde
automatically run AS now?bod
02/27/2025, 8:01 PMrunLocalIde
Kate Liu
02/27/2025, 8:12 PMbod
02/27/2025, 8:17 PMdependencies {
// IntelliJ Platform dependencies must be declared before the intellijPlatform block - see <https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1784>
intellijPlatform {
...
?
I think runIde will by default start the IDE (including version) you've put there.bod
02/27/2025, 8:17 PMlocalPath
way then it will run the one that you point toKate Liu
02/27/2025, 8:19 PMbod
02/27/2025, 8:21 PMandroidStudio("version you want")
Kate Liu
02/27/2025, 8:24 PMandroidStudio("Android Studio Ladybug Feature Drop | 2024.2.2 Patch 2")
for example?
Android Studio Ladybug Feature Drop | 2024.2.2 Patch 2
Build #AI-242.23726.103.2422.13103373, built on February 21, 2025
Runtime version: 21.0.5+13-b509.30 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.3.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 12
Metal Rendering is ON
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
google-java-format (1.25.2.0)
com.facebook.ktfmt_idea_plugin (1.2.0.54)
com.slack.intellij.artifactory (0.1.1)
com.slack.intellij.skate (0.8.0)
bod
02/27/2025, 8:26 PM"2024.2.2.15"
... but not 100% sure 😅Kate Liu
02/27/2025, 8:28 PM