Hi, I am trying to get my app on fdroid. I have done the steps in the guide, but when I push to my fork, the CI for build and checkupdate fail.
I tried java11 and gradle-(wrapper) 7.0.2 locally on my PC and here it will build the app.
But the gitlab-runner
gives an error:
Build file '/home/vagrant/build/com.jacquesb.planetario_a/app/build.gradle' line: 2
* What went wrong:
**Plugin [id: 'com.android.application'] was not found** in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)
What is a good strategy to resolve this?
Thanks for any help!
Jacques
Below reference to the build log, the app repository and the yml file.
build log:
Planetario app:
Fdroid data fork:
https://gitlab.com/planetarium1/fdroid-data-fork/-/tree/com.jacquesb.planetario_a?ref_type=heads
https://gitlab.com/planetarium1/fdroid-data-fork/-/blob/com.jacquesb.planetario_a/metadata/com.jacquesb.planetario_a.yml:
Categories:
- Science & Education
License: BSD-2-Clause
SourceCode: planetarium / Planetario · GitLab
RepoType: git
Repo: https://gitlab.com/planetarium1/Planetario.git
Builds:
- versionName: '1.0'
versionCode: 1
commit: v1.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: '1.0'
CurrentVersionCode: 1