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

Gradle Changes to Build Repo with newest Android Studio #135

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bitmold
Copy link

@bitmold bitmold commented Nov 20, 2024

The gradle wrapper used by the project will not work with the latest IDE. I bumped it to 8.9 using Android Studio Wizards, and ignored a .idea/ file that was generated and not tracked by .gitignore

@@ -7,6 +7,7 @@
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
/.idea/runConfigurations.xml
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why did you add this? I think we want to be able to use VCS shared run configurations.

Copy link
Collaborator

@grote grote left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

zipStoreBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionSha256Sum=97a52d145762adc241bad7fd18289bf7f6801e08ece6badf80402fe2b9f250b1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't we need to update the hash instead of removing it?

@@ -1,7 +1,7 @@
#!/usr/bin/env sh
#!/bin/sh
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure we should update the scripts here as this is a security risk and rarely necessary. We do have a github action to verify the files, so maybe it is fine, but then we should use the latest version: https://github.com/onionshare/onionshare-android/blob/main/.github/workflows/build.yml#L13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants