jwharm / flatpak-gradle-generator Goto Github PK
View Code? Open in Web Editor NEWA Gradle plugin to generate a sources file for offline Flatpak builds
License: GNU Lesser General Public License v2.1
A Gradle plugin to generate a sources file for offline Flatpak builds
License: GNU Lesser General Public License v2.1
Hello,
And thank you for this plugin!
For the Audiveris project, the building of a Flatpak version requires to identify all dependencies so that the flatpak-builder tool can download them.
Martin Wilck (@mwilck) has crafted an ad-hoc solution which roughly runs Gradle with a temporary (empty) cache. Once filled, the cache is then analyzed by a specific Python program to populate a dependency.yml file. Details are available here.
But this process of getting a complete dependency list has nothing to do with the Audiveris project. Hence my growing interest in your program, which is a Gradle plugin dedicated to this task.
Running your plugin on the Audiveris project, I noticed 2 differences among the 50+ dependencies.
build.gradle
file, as follows:dependencies {
implementation(
...
)
runtimeOnly(
[group: 'org.bytedeco', name: 'leptonica', version: "${leptVersion}-${jcppVersion}", classifier: "${project.ext.hostOS}"],
[group: 'org.bytedeco', name: 'tesseract', version: "${tessVersion}-${jcppVersion}", classifier: "${project.ext.hostOS}"]
)
}
Depending on hostOS
value (in our case: windows-x86_64
, linux-x86_64
or linux-arm64
), the jar file will be different.
I checked in your Java code, there is yet no such 'classifier
' attribute in the DependencyDetails class.
Is it something you could consider?
Thanks in advance for any information.
/Hervé
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.