Top "Build.gradle" questions

The file build.

Peer not authenticated while importing Gradle project in eclipse

While I am importing gradle project in eclipse, it is giving me this error. FAILURE: Build failed with an exception. * …

java gradle android-gradle-plugin build.gradle gradle-eclipse
Call another task from a task in gradle

I'm using Gradle. I have two tasks: "a" and "b". I want task "a" to call task "b". How can …

gradle build.gradle
Execution failed for task ':compileJava'. > invalid source release: 1.7

I am using : gradle-2.3 javac -version = 1.7 jre = 1.7 regedit shows it is pointing to 1.7. But I am still getting below error …

java build.gradle gradle-eclipse
Gradle does not use the Maven Local Repository for a new dependency

I have Maven with M2_HOME defined to /Users/manuelj/apache/maven/3.2.5 I have the settings.xml file, located on /…

gradle build.gradle
Could not find method leftShift() for arguments after updating studio 3.4

After updating studio 3.4 and Gradle version to 5.1.1 I got the error on my task as Could not find method leftShift() …

android gradle groovy android-gradle-plugin build.gradle
How do I extend gradle's clean task to delete a file?

So far i've added the following to my build.gradle apply plugin: 'base' clean << { delete '${rootDir}/api-library/…

gradle build.gradle
How to run Gradle test when all tests are UP-TO-DATE?

I have my grade script set up. When I execute the Gradle build, everything is working and it runs the …

java gradle build.gradle
Android Studio: Could not find com.android.tools.build:gradle:2.0.0-alpha2

Recently I have updated my Android Studio to latest version from Latest Android Studio Canary Build: 2.0 Preview After updating to …

android android-studio android-gradle-plugin build.gradle android-studio-import
transformClassesAndResourcesWithProguardForRelease FAILED

I am trying to Build my Android application with Gradle in console. But getting below error about task ':app:…

android gradle android-gradle-plugin build.gradle proguard
libpng error: Not a PNG file Error Showing In Android Studio

I just Imported a project from Eclipe to Android Studio. Just a plain and simple project. But the project folder …

android android-studio build.gradle