Top "Build.gradle" questions

The file build.

How to add local .jar file dependency to build.gradle file?

So I have tried to add my local .jar file dependency to my build.gradle file: apply plugin: 'java' sourceSets { …

java gradle dependency-management build.gradle gradle-eclipse
android studio 0.4.2: Gradle project sync failed error

After updating to 0.4.2 I get this error when opening a project: 'Gradle project sync failed. Basic functionality (e.g. editing, …

android android-studio android-gradle-plugin build.gradle
All com.android.support libraries must use the exact same version specification

After updating to android studio 2.3 I got this error message. I know it's just a hint as the app run …

android build.gradle
What's the difference between implementation and compile in Gradle?

After updating to Android Studio 3.0 and creating a new project, I noticed that in build.gradle there is a new …

gradle build.gradle dependency-management gradle-plugin transitive-dependency
Android Material and appcompat Manifest merger failed

I have next grade dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0-rc01' implementation …

android android-gradle-plugin build.gradle gradle-plugin
How to manually include external aar package using new Gradle Android Build System

I've been experimenting with the new android build system and I've run into a small issue. I've compiled my own …

android gradle android-gradle-plugin build.gradle
How do I tell Gradle to use specific JDK version?

I can't figure out to get this working. Scenario: I have an application built with gradle The application uses JavaFX …

java gradle build.gradle
Gradle: Execution failed for task ':processDebugManifest'

I'm getting a gradle error at building since yesterday - it just came randomly.... Full stacktrace here: My project depends …

android gradle android-studio build.gradle
More than one file was found with OS independent path 'META-INF/LICENSE'

When I build my app, I get the following error: Error: Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. More than …

android gradle build.gradle
Android Studio gradle takes too long to build

My Android Studio project used to build faster but now it takes a long time to build. Any ideas what …

android android-studio build gradle build.gradle