-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find performanceTesting.jar
when building against Android Studio 2024.2.1.2
#1738
Comments
I extracted that jar from IntelliJ IDEA (2024.2) and placed it in the directory that was causing the error. Until the bug is fixed, this workaround can be used. |
This issue is blocking development for plugins built against Was the
I was able to use this workaround to get a new version published, but it's unstable and continually fails during development. It's not scalable across teams. |
I took this one from the repository as a workaround. I renamed it "performanceTesting.jar" and moved it in the folder mentionned in the example |
I have tried writing an awful workaround for my deployment pipeline, but it doesn't work... Could really use some help!
|
Does this workaround work on your laptop @qbalsdon ? |
I try this solution and get error after Run plugin with exception "performanceTesting.jar' contains invalid plugin descriptor". |
I had the same. If you look at the repository link posted by @dennisbordet , you will notice there are multiple versions of the |
@dennisbordet no, lol - nothing works - that solution was an awful attempt for my github actions, and it definitely doesn't work |
Just FYI, on the Android Studio side, we plan to bundle the Performance Testing plugin starting in Android Studio M Canary 2 (coming soon). |
Unfortunately, the import org.jetbrains.intellij.platform.gradle.Constants.Configurations
configurations {
named(Configurations.INTELLIJ_PLATFORM_BUNDLED_MODULES) {
exclude(Configurations.Dependencies.BUNDLED_MODULE_GROUP, "com.jetbrains.performancePlugin")
}
} Note that this is just a workaround; the proper fix will be included in the upcoming IntelliJ Platform Gradle Plugin release. |
…hen using Android Studio dependency Android Studio 2024.2 declares that it has `com.jetbrains.performancePlugin` (and it's a dependency of Android plugin) but it doesn't contain it. It leads to configuration errors. So, these changes temporarily exclude it from the dependency list to avoid the failure. See JetBrains/intellij-platform-gradle-plugin#1738
…hen using Android Studio dependency Android Studio 2024.2 declares that it has `com.jetbrains.performancePlugin` (and it's a dependency of Android plugin) but it doesn't contain it. It leads to configuration errors. So, these changes temporarily exclude it from the dependency list to avoid the failure. See JetBrains/intellij-platform-gradle-plugin#1738
Very helpful! Here's a groovy syntax version: import org.jetbrains.intellij.platform.gradle.Constants
configurations.configureEach {
if (it.name == Constants.Configurations.INTELLIJ_PLATFORM_BUNDLED_MODULES) {
exclude group: Constants.Configurations.Dependencies.BUNDLED_MODULE_GROUP, module: "com.jetbrains.performancePlugin"
}
} |
…hen using Android Studio dependency Android Studio 2024.2 declares that it has `com.jetbrains.performancePlugin` (and it's a dependency of Android plugin) but it doesn't contain it. It leads to configuration errors. So, these changes temporarily exclude it from the dependency list to avoid the failure. See JetBrains/intellij-platform-gradle-plugin#1738
This is still an issue, see #1843 |
What happened?
performanceTesting.jar
is not bundled in android studio 2024.2.1.*This causes a resolution error in
:compileKotlin
.Relevant log output or stack trace
Steps to reproduce
1.
build.gradle.kts
2. Need at least one Kotlin file to force
:compileKotlin
to run.3. Repro
gradle build
Gradle IntelliJ Plugin version
2.0.1
Gradle version
8.9
Operating System
macOS
Link to build, i.e. failing GitHub Action job
No response
The text was updated successfully, but these errors were encountered: