A software package that I need to use (opa-fmgui) uses gradle for the build process. Unfortunately, we do not have it in our repositories and building it from scratch is not an option.
However, I found a ZIP archive here: https://services.gradle.org/distributions/gradle-3.5-bin.zip which looks like a read-to-use gradle!
I have never used gradle before (didn’t even know it existed), so I naively added it to my package’s SPEC-file and also added code to unzip and run gradle from the appropriatel location.
As a consequence, I keep running into problems:
- “Declaring custom ‘build’ task when using the standard Gradle lifecycle plugins is not allowed.”: I “solved” this by changing ‘default=“build”’ to ‘default=“assemble”’ in the build.xml file and also added “build.dependsOn assemble”, but then
- “Cannot add task ‘:build’ as a task with that name already exists” appeared.
I am now thinking that, maybe, the ZIP file I use has too much already pre-configured and all I might need to do is disable these “standard Gradle lifecycle plugins”!?
I would think that I need to disable the “standard Gradle lifecycle plugins”, or do I?
Or does someone know opa-fmgui and knows how to incorporate the above mentioned gradle ZIP file?
Thanks in advance,