Giter Club home page Giter Club logo

flatpak-gradle-generator's People

Contributors

jwharm avatar leinardi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flatpak-gradle-generator's Issues

DependencyDetails: Handling of 'classifier' in addition to group, name and version?

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.

  • Your plugin adds itself, plus the dependent gson utility, which is understandable.
  • It misses however 2 dependencies, even though they are specified in the runtimeOnly section of Audiveris 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é

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.