All Questions
Tagged with gradle dependencies
1,225
questions
0
votes
0
answers
73
views
Migrating to spring 3.3.0+ version, causes issues with wiremock
im trying to update from spring-boot 3.1.9 to 3.3.1. When i update the version, tests using wiremock start failing.
I read about the standalone version,
and have updated my gradle script accordingly ...
0
votes
0
answers
29
views
material-calendarview dependency is not working
so i want to use the Calendar view from the Library, no matter how i try to import it it always returns the same error i tried different versions but i always get the same error: Duplicate class ...
0
votes
0
answers
8
views
Gradle Version Catalog - set preferred version as versionRef?
I want to set the preferred version as versionRef. Is it possible?
Right now I have:
library("jacksonModuleKotlin", "com.fasterxml.jackson.module", "jackson-module-kotlin"...
0
votes
0
answers
25
views
Conflicting dependencies, duplicate classes and version numbers in implementing Google AdMob in Android Studio
I need to know the magic configuration for the gradle file to actually work and run my app again.
I know that this is happening because I am adding AdMob ads!
I have gotten many different types of ...
0
votes
0
answers
54
views
build failed in react-native-android
error
Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with
an exception. * Where: Build file 'C:\Users\...
0
votes
1
answer
86
views
Execution failed for task ':app:mergeDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDexDebug'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to ...
1
vote
1
answer
61
views
Could not resolve all files for configuration ':compileClasspath' (build.gradle)
I am currently working on a Java project (jdk-18.0.2.1; Gradle DSL: Groovy; Gradle Distribution: Wrapper; Gradle version 8.5) and want to use the following repositories and dependencies
repositories {
...
0
votes
1
answer
25
views
How to get dependencies in module from object class in buildSrc module
I Have structure:
module app gradle :
import app.buildsrc.Libs
plugins {
kotlin("jvm")
}
dependencies {
implementation(Libs.material3)
}
and additional gradle module buildSrc:
...
1
vote
0
answers
62
views
How are transitive dependencies handled in Android libraries like core-ktx?
I was working on an Android project and realized that I could use functionality from the core-ktx library without explicitly including it in the project's dependencies. This made me question the ...
0
votes
0
answers
15
views
compile 'commons-lang:commons-lang:2.4' is not included in lib folder of war file
I have added the dependencies in dependencies.gradle ,I have two versions of commons-lang ,but only the latest version is getting included in the war file.
commons-lang3.3 is getting included ,but not ...
0
votes
1
answer
46
views
I have used gradle 6.3, spring boot 2.3.0.RELEASE I migrated to gradle 8.5 and spring boot 3.2.3 it's not working now
I am working on a spring-boot application. It was working when I was using gradle 6.3, spring boot 2.3.0.RELEASE and dependency-management as 1.0.15.RELEASE. Now I updated to gradle 8.5 spring boot 3....
0
votes
1
answer
171
views
Gradle make project ins android studio shows "Duplicate class found" error: lifecycle-viewmodel-desktop conflicts with lifecycle-viewmodel-android
I was adding some new functionality to one of my Legacy projects. Meanwhile, I started to use ViewModelProvider in my project which android studio suggested to add required dependencies for it:
import ...
1
vote
0
answers
22
views
CheckDuplicatesRunnable when building Android Project (Jetpack Compose)
It's been three days since I got stuck with this annoying error Android Studio logs whenever I build the project: "Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$...
0
votes
0
answers
26
views
react native build error Task :react-native-fetch-blob:compileDebugJavaWithJavac FAILED
I'm trying to run a fresh react native v0.72.14 project using "react-native-fetch-blob": "^0.10.8" as part of the dependency. When I try to run npx react-native run-android or ./...
0
votes
1
answer
109
views
how do i implement " implementation 'com.google.mlkit:barcode-scanning:17.2.0' " in the new gradle 8.4 as it seems to be in different format
hi i am fairly new to android studios, i was following a tutorial on scanning qr code, the first step requires me to add "implementation 'com.google.mlkit:barcode-scanning:17.2.0' into my ...