Gradle Implementation vs API configuration
Gradle compile keyword was deprecated in favor of the api and implementation keywords to configure dependencies. Using api is the equivalent of using … Read more
Gradle compile keyword was deprecated in favor of the api and implementation keywords to configure dependencies. Using api is the equivalent of using … Read more
You should use the -x command line argument which excludes any task. Try: gradle build -x test Update: The link in Peter’s comment … Read more
In several Tasks, I reference jars in my home folder. Is there a better way to get Environment Variables than ENV = System.getenv() … Read more
today I just imported a sample app from Android SDK as a module in my project (analytics) and suddenly I got this gradle … Read more
Android Studio (1.2 RC0) keeps telling me Error running android: Gradle project sync failed. Please fix your project and try again. How can … Read more
I’ve set up my project in Android Studio to use the Square Wire library, as per this question. Build -> Compile Project works … Read more
On a multi-project gradle build, can someone tell me what exactly is the difference between the “allprojects” section and the “buildscript” one? Both … Read more
Since today, Android Studio can’t find the AppCompat themes in styles.xml, but for example AppCompatActivity in code does get recognized. My Android Studio … Read more
I’m getting following error when trying to compile my project in Android Studio: Gradle: error: diamond operator is not supported in -source 1.6 … Read more
I am working with an open source project that is built with Gradle. I would like to generate a (project)-sources.jar file that I … Read more