Closed HawkEy33 closed 3 years ago
@marcosdiez any chance you find a little time to fix the gradle and tag the last version?
tagging 2.0.10 and fixing gradle build would be much appreciated... Is this project still alive?
I fixed the compile issue and some other problems and hope @marcosdiez will create a new release for F-Droid.
@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.
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."
@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.
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
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.
Issue can be closed now. App is available on F-Droid
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