marcosdiez / shareviahttp

Share Via Http - Android
Other
175 stars 37 forks source link

Update 2.0.12 for F-Droid #56

Closed HawkEy33 closed 3 years ago

HawkEy33 commented 5 years ago

The newest version on F-Droid is 2.0.8 since 2.0.9 couldn't be build because Google Maven repo wasn't added to build.gradle.

Also ver. 2.0.10 isn't tagged so it didn't get add to the metadata file.

Can we please get ver. 2.0.10 on F-Droid?

issue on F-Droid Data tracker

IzzySoft commented 5 years ago

@marcosdiez any chance you find a little time to fix the gradle and tag the last version?

mnalis commented 3 years ago

tagging 2.0.10 and fixing gradle build would be much appreciated... Is this project still alive?

woheller69 commented 3 years ago

I fixed the compile issue and some other problems and hope @marcosdiez will create a new release for F-Droid.

woheller69 commented 3 years ago

@marcosdiez In case you do not want to work on this project anymore and create a new version - would you agree that F-Droid switch to my repo as source for future updates? This is possible only if the original author agrees.

woheller69 commented 3 years ago

F-Droid build failed

 https://f-droid.org/wiki/index.php?title=com.MarcosDiez.shareviahttp/lastbuild_31&redirect=no

Sounds like a problem with the new gradle 7.0.2 which was added with #67

"Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8."
marcosdiez commented 3 years ago

@woheller69 It took me 2 hours to be able to build ShareViaHttp this weekend. I don't really care about any specific version of Java, this was the first setup that worked. That being said, I update the APK to to GitHub. Feel free to use that. In case you prefer to compile yourself and you need a branch on this repo, let me know and I can help you with that too.

Thank you for everything by the way.

woheller69 commented 3 years ago

I think they will fix this on F-Droid side. For another app which had the same problem recently I saw, they added some commands:

  sudo:
    - apt-get update || apt-get update
    - apt-get install -y openjdk-11-jdk-headless
    - update-alternatives --auto java

https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/de.baumann.browser.yml

IzzySoft commented 3 years ago

Indeed that matches – and is the solution we apply for the apps throwing the above error on build. That block belongs directly before the gradle: line.

woheller69 commented 3 years ago

https://f-droid.org/wiki/page/com.MarcosDiez.shareviahttp/lastbuild_31

Build suceeded 🙂

woheller69 commented 3 years ago

Issue can be closed now. App is available on F-Droid