Skip to content
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

Add support for Android Studio Chipmunk (2021.2), Dolphin (2021.3), Electric Eel (2022.1) and IntelliJ with Java17 runtime #439

Merged
merged 7 commits into from
Aug 12, 2022

Conversation

asodja
Copy link
Member

@asodja asodja commented Aug 4, 2022

and IntelliJ with Java17 runtime.

Fixes #437

@asodja asodja self-assigned this Aug 4, 2022
@asodja asodja force-pushed the asodja/android-studio-ee branch 3 times, most recently from 7ee9f1d to 14f6378 Compare August 5, 2022 07:19
@asodja asodja marked this pull request as draft August 5, 2022 07:32
@asodja asodja force-pushed the asodja/android-studio-ee branch 5 times, most recently from 4c4cc26 to aa0187c Compare August 7, 2022 15:21
@asodja asodja marked this pull request as ready for review August 7, 2022 17:26
… add support for IntelliJ with Java 17 runtime
@asodja asodja requested a review from lptr August 8, 2022 13:55
// but it doesn't return error message so we rather listen to GRADLE_SYNC_TOPIC to get the sync result
ProjectSystemUtil.getSyncManager(project).syncProject(ProjectSystemSyncManager.SyncReason.USER_REQUEST).get();
} catch (InterruptedException | ExecutionException e) {
throw new RuntimeException(e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we still call synclistener.syncFailed() here, or is it okay to just throw?

Copy link
Member Author

@asodja asodja Aug 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to call sync failed, to not crash our plugin, changed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are now back to throwing an exception instead of syncListener.failed(), is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@lptr lptr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM.

@asodja asodja merged commit 82770ce into master Aug 12, 2022
@asodja asodja changed the title Add support for Android Studio Chipmunk (2021.2), Dolphin (2021.3) and Electric Eel (2022.1) Add support for Android Studio Chipmunk (2021.2), Dolphin (2021.3), Electric Eel (2022.1) and IntelliJ with Java17 runtime Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDE sync profiling incompatible with Android Studio Electric Eel Canary 8
2 participants