Add Module to Gradle subproject

I have trouble adding a module to a Gradle subproject. This is my project tree: I want to add the io.grpc.example.helloworld sources from the build directory to the subproject. My main project (grpctest2) build.gradle: group 'andu' version '1.0-S...
more »

2017-05-20 21:05 (0) Answers

Intellij not including every file in build

I converting my JavaFX/TornadoFX project into a gradle project, I have all my resources in a package called resources... everything is working but when I build the project the packages, that don't contain any source code, don't move to the jar/build ...
more »

2017-05-20 13:05 (1) Answers

Gradle: How to fix Eclipse WTP Deployment

I know that there are several other questions centered around this topic, but they are quite old and I would like to have an up-to-date information on this. I have a Gradle 3.5 build of a web application. It's a typical hierarchical gradle project, ...
more »

2017-05-19 15:05 (0) Answers

Moving gradle build to another machine

It seems that when Gradle 3.1 downloads the dependencies for your project it stores them in: C:\Users\username\.gradle\caches I tried copying the contents of this folder to a different machine that has a fresh Gradle 3.1 installation, but when I tr...
more »

2017-05-19 14:05 (1) Answers

Debugging JAR library in Android application

I have a project (set of Java classes) which I build using Maven as a JAR file, then I add the JAR in my Android application (using Android Studio), adding compile files('***.jar') in my build.gradle. At the moment it works fine, but while debuggin...
more »

2017-05-19 14:05 (2) Answers

android clicking debug chooses release variant

In Android Studio, when I click the "debug" icon in the tool bar, gradle is appearing to try to make a release build. First, it shows me the "edit configuration" popup. At the bottom, it has a message "the apk for your currently selected variant (ap...
more »

2017-05-18 21:05 (1) Answers