Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gradle]

The tag has no usage guidance.

1
vote
0answers
31 views

How to build Spring Boot multimodule app build to separate WARs and shared library/dependencies?

Currently, I'm trying to migrate multimodule angular + spring 4 app build with ant and ivy to Spring Boot and build it with Gradle. The issue is that I don’t how to create build upon some custom ...
2
votes
1answer
56 views

Gradle/Java separation public private API

I have a project that has a public API and an internal code. The public part is published on MavenCentral. I thought about making a package each, but everything from the 'internal' package that ...
2
votes
1answer
88 views

How to depend on forked external dependencies?

Our project uses Gradle (whose dependency system is compatible with Maven IIUC). When depending on external projects, we try to depend on stable versions. Sometimes we have to depend on a ...
1
vote
1answer
560 views

Understanding application licenses when using third party libraries in an android project

I'm developing an app for the 2nd time but it's the first time i'm using third party libraries in my application. One of the libraries seems to have an MIT license and the other is the android ...
9
votes
1answer
363 views

How to manage non-unit tests in a project?

I have some code in my project I personally call tests that are not unit tests. They are meant to be run and the result has to be evaluated by a human. I did this because I'm making a physics engine ...
3
votes
1answer
275 views

Maintenance Complexity of Gradle build scripts

I am currently trying out Gradle for my embedded development project. The existing tool is GNU Make. Across the internet I have read a lot of articles where people say that their build logic becomes "...
1
vote
1answer
148 views

Reliable way of finding the latest version of a Gradle library

in Gradle, when you include a library, you have to add the version number at the end, as such: com.android.support:appcompat-v7:X.X.X But a lot of times, understandably, the website for libraries ...
4
votes
1answer
4k views

Self-contained projects: Gradle & Maven dependencies offline

I'm trying to get a Java programming project set up in a way that it can be built completely offline just from the files in version control, on any machine, with no prerequisites to install. (Sole ...
1
vote
1answer
217 views

Supporting Multiple Java Versions in OSS Libraries

I am in the process of standing up my first OSS Java lib (GitHub/Maven) that an open source hardware community will be making fair/moderate use of. I am writing this library with Java 8 and managing ...
1
vote
0answers
74 views

Does it makes sense to manage production/dev/test database dumps as a dependency?

I often struggle with the idea of deploying applications in productive, dev and test environments (not unit testing, I mean like a sandbox) when it comes to databases. And no, source control is not ...
2
votes
0answers
362 views

Gradle Flavors vs. App Projects

I've inherited a pretty big and old project with a tiny bit of technical debt which is still under active development. A couple of months ago we made the jump from Eclipse+Ant to Android Studio+Gradle....
4
votes
1answer
2k views

How to retrieve the third-party library licenses

I am looking for a way to automatically collect all the third-party library licences that my project is using. Currently I am collecting by hand the licences on github. So far , I don't have a clear ...
2
votes
1answer
3k views

Sharing dependency configuration over multiple projects (Maven)

From a big SVN repository we want to switch to Maven/Gradle for handling dependencies so that programmers can work with a single project without checking out the whole thing. We are writing plugins ...
3
votes
2answers
679 views

Should I backup gradle dependencies to git?

I always like to backup project dependencies myself in case they can't be resolved due to a down website or because certain versions aren't available for download any more. Should I trust the maven ...