Questions tagged as 'gradle'

1
answer

Compiling C ++ using Gradle

Gradle is a great ally in both java and android development. I was looking at the site and realized that it can also manage projects in C ++. How can I use it to compile a super simple project (hello word)?     
asked by 05.01.2016 / 19:47
1
answer

How to speed up Android Studio + Gradle?

I'm having a hard time using Android Studio because of the delay in the project build process. What settings improve Android Studio + Gradle performance?     
asked by 25.09.2014 / 01:19
1
answer

How to compile a Java 9 project with Lombok in Gradle?

TL; DR    How to pass multiple parameters -J--add-opens=<pacote>=ALL-UNNAMED so that Gradle uses them when invoking javac ? Details I have a HelloWorld.java code using Lombok in Java 9: import lombok.NonNull;...
asked by 14.11.2017 / 16:36
1
answer

How to use android project in gradle in eclipse?

I'm trying to incorporate this project: link into my android application in eclipse, however I do not use gradle. Is there any way to import it without gradle?     
asked by 26.12.2014 / 19:39
2
answers

How to configure proxy in Android Studio?

Company where work joined proxy use and I'm having trouble using gradle . The gradient returns the following error:    Error: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either...
asked by 28.07.2015 / 18:15
1
answer

How to create a new Build.gradle?

Since I imported my gitHub project, I'm trying this error:    Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to the Gradle build system One guy already told me that I need to cr...
asked by 03.11.2015 / 17:11
1
answer

Android SDK Build-tools 22.0.1 inventing folders within res in the generated APK

I'm using Android Studio 1.2.1.1 , with Gradle 2.2.1 , and this is a snippet (the relevant part) of my my resource folders structure: res |- layout |- layout-v21 |- values |- values-v11 |- values-v13 |- values-v14 |- values-...
asked by 14.06.2015 / 21:45
1
answer

Different source code for release / debug version

I saw that in android studio it is possible to have one AndroidManifest.xml for the debug version and another for release version. Well, I have an "AppMock.java" file with constants for testing. I would like to not compile this source code in...
asked by 27.09.2016 / 22:44
1
answer

How to properly declare Server Runtime dependency or provided by Wildfly in Gradle

I have a Java web project being developed to run on Wildfly, using the Eclipse IDE. This application uses JPA, JTA, JSF, and CDI at first, but will use other Java EE features in the future. The dependency control of this project is done by Gradl...
asked by 26.01.2015 / 17:12
1
answer

How to import an Android project as a module in Android Studio?

I'm trying to import a Android project as a module from another project: ButwhenItrytoimport,Gradlegivesanerrorsayingthatitcannotfindtheandroid()methodinthebuild.gradlefileofthemodule.I'vetriedimportingbyselectingtheentireprojectfolde...
asked by 01.07.2015 / 15:27