GithubHelp home page GithubHelp logo

use gradle / add to artifactory about jsyn HOT 3 OPEN

philburk avatar philburk commented on July 23, 2024 1
use gradle / add to artifactory

from jsyn.

Comments (3)

ligi avatar ligi commented on July 23, 2024 1

JARs have the following problems:

  • they are not really versioned and being able to easily correlate them to the source-code
  • it makes the repo bigger than needed ( you do not really want binaries in your git repo )
  • when using the jar it is harder to get the attached sourcecode in the IDE ( when from artifact-repo like maven-central, jcenter or jitpack you can easily attach the sources for nicer development )
  • It makes it hard to publish your app on fdroid ( https://fdroid.org ) as you have to show that the binary jar resulted from given source and there is no binary without attached source-code
  • It's easy to find out that there are updates to an artifact ( there are even plugins for that ) - with the jar I would have to poll for new versions.

Regarding the split - I would suggest to do a multi-module gradle build: https://jitpack.io/docs/BUILDING/#multi-module-projects

from jsyn.

philburk avatar philburk commented on July 23, 2024

I'm glad you like JSyn. I want to make it useful for people. Different people need different things. So I have not yet tried to optimize the build for specific targets. I'm not opposed to it. It just hasn't been a priority. You're the first person to ask.

I would have to drop in the jar which I do not find appealing.

Does the JAR cause technical problems? It is handy for me to publish one JAR on the website.

I removed JPortAudioDevice and the corresponding dependency as I do not want this on android.

Was there a specific build problem with JPortAudioDevice? JSyn also has over a hundred unit generators and you probably only use a few. The JavaSound code is also not used on Android. ProGuard should strip out unused code.

What do you think about splitting into 3 artifacts?

I want to understand. Are you proposing 3 git repositories or are the artifacts just gradle build targets?

from jsyn.

ligi avatar ligi commented on July 23, 2024

oh nice - just saw that a lot of work towards this was done in 46888fa by @RubbaBoy

from jsyn.

Related Issues (20)

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.