Menu

#76 Add gradle support

SQuirreL
open
nobody
None
5
2016-02-13
2016-02-06
Ioan Stan
No

Hello,

Note: I have sent this to squirell-sql-develop before discovering how to raise this ticket.

I've createad a patch to use gradle as a build system. It's a simple
proof of concept that builds core and packages it as a distribution.

All you need to do is:


./gradlew clean build

Go to sql12/core/build/distributions. Unpack either tar or zip and run
the script. The script fails to run on my machine because I haven't
completed all the build things. I'm not yet familiar with how you build
your software.

Switching to gradle provides a lot of benefits and I can help you make
the switch. I'm doing this because it will help me package the software
for Debian.

  • you can eliminate a binaries libs from the git
  • better maintenance and visibility of dependencies
  • easy to develop and manage (I'm not familiar with Eclipse, but should
    work ok)

If you cannot receive the patch I have uploaded the changes to github
[1] since I did not see 'how to contribute' instructions on your page.

https://github.com/ieugen/squirrel-sql/tree/feature/gradle

1 Attachments

Discussion

  • Gerd Wagner

    Gerd Wagner - 2016-02-13
     
  • Gerd Wagner

    Gerd Wagner - 2016-02-13

    I heard one or the other good thing about Gradle especially that it has dependency management. This makes it interesting.

    But I believe SQuirreL's build system should be as simple as possible and this patch does not seem to be simpler to me than the existing Ant build especially because, as far as I understand it, it even needs the Ant build.

    That's why I won't accept the current version of the patch.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.