Category "gradle"

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

Android Studio: Where is the Compiler Error Output Window?

When I 'Run' my project in Android Studio, in the 'Messages' window, I get: Gradle: FAILURE: Build failed with an exception. * What went wrong: Execution fai

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8