Category "gradle"

Failed to transform moshi-1.13.0.jar (failed for task biometric_storage:kaptGenerateStubsDebugKotlin)

I pulled a team's project that is made in Flutter from Git and for some reason when building the app (pressing the green arrow in Android Studio and running mai

In Gradle, how to print out a message in the console / Event Log?

I'm trying to verify that my source and target paths are properly setup when I execute a deploy command. See the example below: (copied from: http://eppz.eu/blo

How to change the Gradle version?

I would like to change the Gradle version to 3.5.1 according to the project version received from git using this eclipse. So I changed the editing path for the

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. * What went wrong: A problem occurred con

Android tests BuildConfig field

Suppose my build.gradle file defines different values for the same variable that is defined in BuildConfig: android { def INTEGER= "integer" def VARIAB

Version increment using gradle task

I want to increase the version number of my project from 1.0.0. to 1.0.1 automatically whenever a new build is made through bash command. I only need to increas

Flutter run returns: A problem occurred evaluating project ':app'." ">ASCII"

I'm trying to follow the "Add firebase to flutter" tutorial (https://firebase.google.com/docs/flutter/setup) . I've done this with many prior version. Now on F

Gradle stack trace on terminal

I'm required to use Gradle for my Java project. I'm running some unit tests with ./gradlew test, but the exception stack trace is witten on a web page which I n

android:exported needs to be explicitly specified after add SonarQube in build.gradle

I created a simple Hello World project in Android Studio as an example in Jenkins pipeline, it works but I want add SonarQube analysis, so I add follow lines in

NoSuchFileException while running docker image,

I'm new to docker and AWS. I am trying to connect with AWS keyspaces using truststore certificate(cassandra_truststore.jks), I kept the certificate in project r

How to fix "plugin was not found in any of the following sources"

I created a Spring MVC project ion Intellij IDEA. When I build my project, following message is displayed, how can I resolve it? Plugin [id: 'org.springframewor

How to access gradle test reports from a docker container

I'm using a docker container to build and run my java application and I want to see the test results that would usually be available from build/reports/tests/te

Error when setting compileSdkVersion to Sv2 (Android 12L) - Unsupported value: Sv2. Format must be one of

I am trying to follow the setup guide for Android 12L here. But I get the following error when I sync gradle on the project: Unsupported value: Sv2. Format must

Build gradle : Could not find method packagingOptions() for arguments root Project "fasterDev"

I am using single build.gradle file in application. Regarding version 1.6 it's working properly. but I want to use this for location update with module. apply

How to exclude all files under a directory in Gradle?

packagingOptions { exclude 'org/apache/commons/codec/language/bm/gen_approx_portuguese.txt' } For example, this one will exclude 1 file. But how to exclude a

How to read a properties files and use the values in project Gradle script?

I am working on a Gradle script where I need to read the local.properties file and use the values in the properties file in build.gradle. I am doing it in the b

Could not read standard output of command 'cmd'

I am getting the below error when I try to execute the 'clean package' maven command. Any ideas why the stream is closed ? However, when I launch the task by it

Deprecated "getBitmap" with API 29. Any alternative codes?

My onActivityResult is not working because getBitmap is deprecated, any alternative codes to achieve this? here are the codes that needs to be changed, any sug

Manually install Gradle plugin

For reasons out of my control I'm unable to resolve plugins from the internet. I want to know how can I manually install the plugins I need so gradle finds them

Manually install Gradle plugin

For reasons out of my control I'm unable to resolve plugins from the internet. I want to know how can I manually install the plugins I need so gradle finds them