Top "Gradle" questions

Gradle is a project build automation tool that uses a Groovy DSL.

Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

I am getting this kind of error, how to fix it. Error:Unable to load class 'org.gradle.tooling.internal.…

android gradle gradle-plugin
Could not find or load main class org.gradle.wrapper.GradleWrapperMain

I cleaned the whole project by deleting local directories like ~/.gradle, ~/.m2 ~./android and ~/workspace/project/.gradle and chosing File …

android-studio gradle android-gradle-plugin gradlew
Gradle DSL method not found: 'runProguard'

I get an error after updating from my last project. Not a problem in my code but I'm having trouble …

android gradle android-gradle-plugin
How to determine the version of Gradle?

How can I know which version of Gradle I am using in my Android Studio? Please guide. I want to …

android gradle
Gradle store on local file system

How does Gradle store downloaded jar files on the local file system? Maven stores them in the .m2 directory under …

gradle
Getting Gradle dependencies in IntelliJ IDEA using Gradle build

Grade build, even from inside IntelliJ IDEA does not put the dependencies into the "External Libraries" folder, so these classes …

java intellij-idea gradle build.gradle
How do I activate a Spring Boot profile when running from IntelliJ?

I have 5 environments: - local (my development machine) - dev - qc - uat - live - staging I want …

spring intellij-idea gradle spring-boot
error: package com.android.annotations does not exist

I have the following class import com.android.annotations.NonNullByDefault; @NonNullByDefault public final class Log { ... } and here is my build.…

android react-native android-studio gradle android-gradle-plugin
How/when to generate Gradle wrapper files?

I am trying to understand how the Gradle Wrapper works. In many source repos, I see the following structure: projectRoot/ …

gradle build.gradle gradlew
How to run JUnit tests with Gradle?

Currently I have the following build.gradle file: apply plugin: 'java' sourceSets { main { java { srcDir 'src/model' } } } dependencies { compile files(…

java gradle junit4 build.gradle