gradle Questions
3
Solved
I'm seeing a very strange problem with gradle.
When I run any command (see clean below), gradle fails with a concurrent exception.
This is happening since my latest changes. Rolling back to a previ...
6
Edit: Found out that MockK is causing this issue. I guess it is duplicating these files when I'm mocking my API request. When I remove MockK and/or Mockito. I do not get these errors. Any ideas?
Ge...
Parthinia asked 17/1, 2023 at 17:34
2
Solved
after recent update, my android studio make an error:
java.lang.NullPointerException: Cannot invoke "com.android.tools.r8.internal.Gk0.B()" because the return value of "com.android....
Nixon asked 2/6 at 8:9
3
Solved
I have the problem that migrateDb using Flyway in a Gradle project sometimes causes
Unable to obtain inputstream for resource: META-INF/db/mysql/V1__script.sql
This error doesn't occur all the t...
5
Solved
I want to enable compose metrics by this official docs.
In root gradle I added this:
subprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
if (proj...
Incongruity asked 13/2, 2023 at 1:30
2
Android: Jacoco code coverage is not generating after gradle upgrade to 7.0.x & jdk 11 with testCoverageEnabled true. It is working perfect with gradle 4.2.x & jdk 8.
I tried removing testC...
Creight asked 5/1, 2022 at 8:33
4
Solved
I have the following docker file that runs a spring boot application:
# For Java 11, try this
FROM adoptopenjdk/openjdk11:alpine-jre
#
ARG JAR_FILE=/build/libs/pokerstats-0.0.1-SNAPSHOT.jar
#
WOR...
8
Solved
Today i stared my Android Studio and this error pop up, yesterday everything was fine...
really don't know what could go wrong, so i tried reinstall android studio, Android SDK build tools are inst...
Pterous asked 15/11, 2016 at 14:32
3
Solved
Learning gradle, it seems to be a build tool for Java.
But i'm confused to what dependencies really is.
What do dependencies section in Gradle really mean?
What purpose does it serves?
Diocese asked 1/4, 2022 at 15:10
6
Solved
error:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':ar_flutter_plugin' -> org...
3
Solved
My build script is encountering an error (below). Is there a way to run Gradle with the same type of output as invoking Java with -verbose:class?
The error in question, should anyone have some inp...
Fagoting asked 22/3, 2013 at 19:6
6
I am using Gradle with TestNG. I have this build.gradle:
useTestNG() {
useDefaultListeners = true
suites "src/test/resources/tests1.xml"
suites "src/test/resources/tests2.xml"
}
}
How can I ...
7
Solved
I have a project structure that looks like the below. I want to use the TestReport functionality in Gradle to aggregate all the test results to a single directory.
Then I can access all the test re...
Dev asked 4/6, 2013 at 15:10
7
Solved
After my app failed on iOS 17, I had to do a lot of upgrading, including buying a new Macbook, just so I can do a build for iOS 17. It turned out that the TextFormField in Flutter didn't work with ...
Silas asked 20/11, 2023 at 17:11
4
Android gradle unable to find method 'org.grade.api.internal.file.DefaultSourceDirectorySet'
I tried to convert a java class to Kotlin, which worked Ok except I got the following error.I tried to re download all dependencies like suggessted in the below, but to no avail.Please help me with...
4
Solved
I am using Espresso for Instrumented Test but got this error on the Stack Trace:
The error being caused by a missing class as shown below:
Caused by: java.lang.ClassNotFoundException: Didn't find ...
Encincture asked 2/4, 2021 at 6:2
6
Solved
When trying to run my project on my windows computer it is not working, it works on my macOS but when running it on windows it throws the following errors:
Task :react-native-image-picker:compileDe...
Cagle asked 9/11, 2022 at 8:46
4
I have faced this sort of error while bundling
any suggestions on how to solve this error
I have tried it by removing extra dependencies but still it doesn't work
Moreover, I have also removed the ...
Coreycorf asked 7/7, 2022 at 4:56
5
What is causing this build error:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.appl...
Wobble asked 30/10, 2022 at 14:31
6
Solved
So I am getting this error in my Spring boot Gradle project:
'java.lang.AutoCloseable org.mockito.MockitoAnnotations.openMocks(java.lang.Object)'
java.lang.NoSuchMethodError: 'java.lang.AutoClosea...
Kaveri asked 7/5, 2021 at 9:13
5
I get this error when tring to run gradle build
i understand it a versions conflict but not sure how to solve it and which
version to exclude...
gradle dependency tree is:
SLF4J: Class path co...
1
Solved
I have a multi module project setup like this:
app module
presentation module (Android module)
domain module (Kotlin module)
data module (Android module)
The dependency graph
presentation -&g...
Creep asked 21/7 at 6:51
14
I am getting errors after i enabled view binding in my project.
I have tried resyncing the project, invalidating cache.
My app gradle file:
apply plugin: 'com.android.application'
apply plugin: '...
Anaesthesia asked 13/5, 2020 at 12:47
5
Solved
Is there an easy way to concatenate multiple text files into a single one in Gradle? The build script should look something like this:
FileCollection jsDeps = files(
'file1.js',
'file2.js'
// o...
Zipporah asked 17/4, 2015 at 7:15
2
Every time I need to make upgrades in Android studio I face problems. Here is the last one (gradle 8.1.0, SDK 33, target and compile versions to 33, all installed and working fine).
The inspection ...
Soft asked 5/8, 2023 at 17:25
© 2022 - 2024 — McMap. All rights reserved.