Category "gradle"

How to configure gradle to use logback-classic ONLY for unit tests in Android?

I have an Android app thich uses slf4j + logback. Gradle file looks like this: ... compile('com.github.tony19:logback-android-core:1.1.1-6') { exclude grou

Exclude transitive dependency of Gradle plugin

Excluding a transitive dependency in Gradle is pretty straightforward: compile('com.example.m:m:1.0') { exclude group: 'org.unwanted', module: 'x' } H

2 files found with path 'core.properties' from inputs:

I'm trying to upgrade a project to android 31 and latest Gradle version 7.3.0-alpha03 but, I'm getting some errors this is my stacktrace > Task :app:mergeSta

can not test api 32 it says invalid date string: Unparseable date: "bb`baiahbgbdGMT+00:00"

I want test fun but i have error it says invalid date string: Unparseable date: "bb`baiahbgbdGMT+00:00" I use emulator api 32 and can not run test > Task :ap

How to run Gradle from a Python3 script

I want to run Gradle from a Python3 script. I can call Gradle from a terminal, but I can not figure out how to call it from a Python script. example for call i

Intellij gradle kotlin project generate .class files in both java and kotlin directory

I have a Gradle Kotlin project setup in Intellij, The source directory is as follows: src main kotlin resource test kotlin resource When I

gradle wrapper reports x86-64 architecture instead of arm-v8 architecture on Mac m1

Hello when working from a Mac m1, Gradle wrapper task reports incorrect architecture compared to gradle : Here is the result of ./gradlew clean : operating syst

What does mean these errors in Gradle?

I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: Execution failed for task ':app:processProDebugResources'. > Could

What does mean these errors in Gradle?

I'm trying to assemble a Kotlin project using Gradle and I'm getting this kind of errors: Execution failed for task ':app:processProDebugResources'. > Could

Gradle Implementation vs API configuration

I'm trying to figure out what is the difference between api and implementation configuration while building my dependencies. In the documentation, it says that

Could not find com.android.tools.build:gradle:4.0.1 ( or any version )

Error : Could not find com.android.tools.build:gradle:4.0.1. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/4.0

after upgrade flutter to version 3, my exist project is not building

i was working on project using flutter 2.10.0 version, it work fine, but after upgrade flutter to 3.0.0 version, my project is not building, it give me this err

evoking gradlew task produces never ending "....... Daemon, 1 busy Daemon could not be reused..." and add 1 to busy every line

Sorry if the question title is not quality to say the least, But i am stumped at this point. Trying to update any project i have to gradle-wrapper 6.5 and up p

Error running Cucumber tests with Gradle in IntelliJ Error

I got subject error when run cucumber api tests with Gradle via IntelliJ. Same error when runing commandline as well with gradlew cucumber ( Below is my edit co

Android Studio's project gradle file changed?

I just updated Android Studio and started a new project. But now the project grade file seems different. Here are the lines: plugins { id 'com.android.appli

Unable to find a usable idle daemon

I am trying to use Talon SRX with WPILib for First Robotics for Java in Visual Studio Code. I follow the instructions here: https://phoenix-documentation.readth

Failed to compile unsupported use of invokespecial

I'm trying to rebuild my project which I've written in JAVA but it has constantly failed with the error [CIRCULAR REFERENCE:com.android.tools.r8.errors.a: Faile

Android Studio 2.3 error: "Gradle sync failed: Cause: services.gradle.org"

After I open a new project in Android Studio 2.3, I receive an error such as: Gradle sync failed: Cause: services.gradle.org Googling just gave me a log f

Syntax highlighting for build.gradle with Prism

For displaying a build.gradle sample code on my blog, I want to syntax highlighting with Prism. But gradle is not included in the supported languages list. Are

Android Jetpack Compose - java.lang.NoSuchMethodError: No virtual method setContent(Lkotlin/jvm/functions/Function0;)

I'm getting a java.lang.NoSuchMethodError exception when trying to run setContent{ Composable() }. Full code: class ComposeFragment : Fragment() { override fun