Coder Social home page Coder Social logo

Comments (9)

ajlam avatar ajlam commented on June 18, 2024 3

@benjamin-bader, thanks for your input.

In one of our previous surveys, we asked "What is your build system of choice?". 73% of responses said Maven was their build system of choice. (ref: https://github.com/Microsoft/mssql-jdbc/wiki/JDBC-Survey-Results). Based on this data, we are going to stick with Maven only.

We'll keep our existing Gradle build script on the repo, but will not be making any new updates to it. I know many of you use Gradle as your main build system, but we'd appreciate any help keeping this build script up to date.

from mssql-jdbc.

JamieMagee avatar JamieMagee commented on June 18, 2024

I would recommend Gradle. It seems that more and more projects are moving towards it - most notably Android.

from mssql-jdbc.

ajlam avatar ajlam commented on June 18, 2024

@gstojsic, @JamieMagee - totally understood. We just uploaded Gradle build scripts in the 6.1.1 release. I'm hoping to send a pulse survey out to folks to get an understanding of which they'd like to see default. Hope you guys are both able to respond when I send it.

from mssql-jdbc.

v-nisidh avatar v-nisidh commented on June 18, 2024

@JamieMagee , @gstojsic : We decided to move away from ant. Further we will choose one from maven or gradle.

from mssql-jdbc.

gstojsic avatar gstojsic commented on June 18, 2024

Great news. The sooner you decide the better.

from mssql-jdbc.

JamieMagee avatar JamieMagee commented on June 18, 2024

Thanks for the update.

I'll echo my comment from above that I believe Gradle is the best option, but either will be better than Ant.

from mssql-jdbc.

v-nisidh avatar v-nisidh commented on June 18, 2024

Linking #155

Right now we found gradle do not support optional dependencies. Do we have any workaround with Gradle & Optional dependencies ?

from mssql-jdbc.

JamieMagee avatar JamieMagee commented on June 18, 2024

The current workarounds are either:

  • Edit the generated pom file using pom.withXml
  • Use a plugin for Gradle

Both workarounds are summed up nicely in this Stack Overflow post

from mssql-jdbc.

benjamin-bader avatar benjamin-bader commented on June 18, 2024

Maven is wordier than Gradle, but faster and ultimately slightly more capable (e.g., optional dependencies).

Speaking as a Java library maintainer, I've had a much easier time managing releases with Gradle than with Maven. mvn release:perform is interactive, makes git commits, and doesn't clean up when it fails (and it fails very frequently, for example if you have the jacoco running and one of your submodules fails). ./gradlew uploadArchives, on the other hand, doesn't mess up your source control if anything goes wrong. So, there's that.

from mssql-jdbc.

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.