Questions tagged [gradle]
Gradle is a project build automation tool that uses a Groovy DSL. Gradle build scripts support Maven and Ivy repositories as well as plain file system for dependency management.
gradle
52,475
questions
2
votes
0
answers
25
views
Gradle does not see log field through @Log4j2 annotation inside lombok in InteliJ
I have a class
@Log4j2
public class TestClass {
public void doSmth() {
log.info("doSmth");
}
}
When I try to compile my code using gradle (tap on "assemble" button ...
0
votes
1
answer
9
views
Create Gradle wrapper without installing Gradle
I want to use Gradle, but I do not want to install it. It is possible to compile a project using its Gradle wrapper. If you already have a Gradle project, you can initialize a new project using the ...
0
votes
1
answer
19
views
Using the GitHub Repository as a Gradle Dependency in Android project
I have forked a project from github, modified it and now I want to use my modified version as dependency in my project. Like this:
implementation("com.github.my_user_name:library_name:master-...
0
votes
0
answers
19
views
Android - migration to Kotlin 2.0 causes errors
My Android App was working fine until I started migrating to Kotlin 2.0.
All I changed in the build gradle was:
changing these two lines
id("org.jetbrains.kotlin.android") version "1.9....
0
votes
1
answer
20
views
Slow Gradle shutdown after testing with Testcontainers, Kotlin, Spring Boot
I have a Kotlin Spring Boot application that integrates with redis, and builds with Gradle. Recently I added some Testcontainer integration tests to make sure everything is working as intended. I ...
-1
votes
0
answers
19
views
FXGL. package with shapes is not visible
While i'm trying to use class from com.almasb.fxgl.physics.box2d.collision.shapes package like this:
physicsComponent.setFixtureDef(new FixtureDef().shape(new CircleShape((float) hitBoxRadius))); with ...
0
votes
0
answers
14
views
Error "Caused by: org.gradle.api.UnknownDomainObjectException: SourceSet with name 'commonTest' not found." while trying to register a gradle task
I have the following issue with Android Studio in my Kotlin Multiplatform Project.
I want to add conformance tests to my project and for this i wanted to add a new source set and have all the test ...
0
votes
0
answers
14
views
AAPT2 process unexpectedly exit. Error output: aapt2 W 07-25 11:01:48 4839 56976 LoadedArsc.cpp:657] Unknown chunk type '200'
Facing issue while upgrading targetSdkVersion from 33 to 34
Different Versions mentioned below:
"react-native": "0.66.3"
gradle-wrapper.properties :
distributionUrl=https\://...
0
votes
0
answers
7
views
gradle-docker-compose - Cannot create a proxy class for abstract class 'ComposeExtension'
Recently a project of mine has started failing unprompted. When I would run gradle test (launching the project remotely using Jenkins) the project would instead return the following error:
* Where:
...
0
votes
0
answers
15
views
How to configure React Native android dependencies to use remote repository in gradle build
I am working on a project that is built off the bare minimum template from expo. The build.gradle file is setup to install the dependencies from an internal Artifactory instance.
buildscript {
...
0
votes
1
answer
13
views
Could not find [SOME_PACKAGE] Searched in the following locations https://dl.google.com/dl/android/maven2/
So I have a flutter project and I added the flutter_contacts to my pobspec.yaml and rebuild the app. few lines of output error:
Launching lib\main.dart on PHONE in debug mode...
Running Gradle task '...
0
votes
0
answers
18
views
I initialized firebase for user auth and other functions in my flutter app and it's returning some errors I don't understand
This is the error being returned. I already initialized flutter clean and flutter run still returned same thing.
I tried Flutter clean and flutter run, all went to no avail.
FAILURE: Build failed with ...
-2
votes
0
answers
9
views
Javadoc failure with Kafka Test
I am trying to run ./gradlew clients:test --tests KafkaProducerTest on the Apache Kafka repository downloaded from github.
However, when I do it, I get the following error:
starting a Gradle Daemon (...
0
votes
1
answer
14
views
Execution of Gradle Tasks and find out why are they executed
I'm currently doing a Udemy Course to learn Kotlin and I've a Question about Gradle and Tasks. I've tried HILT and had to add kapt to my Project (empty project with jetpack-compose).
My app/build....
0
votes
0
answers
20
views
AIDE project initialization shows up with errors
When I try to sync the project, I get:
java.lang.IllegalArgumentException: Unsupported class file major version 65
Caused by: BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_'...
0
votes
0
answers
22
views
Issues with Firebase Dependancies:
When updating a previously made app to capacitor 6.0, attempting to build in android studio leads to this error message:
FirebaseInstallations.getInstance().getToken(false).addOnSuccessListener(...
0
votes
0
answers
7
views
Android. Gradle. Conflict of native SO libraries names on Windows
I have a huge odl Android project and now we need to update a version of some old legacy library.
We are trying to keep 2 version of the same library. Now they are totally different inside. There are ...
0
votes
0
answers
16
views
React native Expo build error in firebase service
I am having a problem that I am not being able to solve, when running eas build android I am having a Gradle error which I go to the expo console to see the error and I have the following one.
Error ...
0
votes
0
answers
14
views
Android Cucumber tests are not invoked
I have written BDD tests for Android with Cucumber and Gherkin but when I run the test Class "CucumberTestRunner", it shows that tests 0/0 are done, i.e., it doesn't see the tests I have ...
-1
votes
1
answer
17
views
How to add Suffix in openapi generator in spring boot gradle?
I am using openapi generator to generate the interface and models from openapi specification. Everything is working fine. But, I want to have suffix in my model name. For example: Employee would be ...
0
votes
0
answers
22
views
flutter build apk: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0
`When I run flutter build apk first time after cleaning project there are warnings in output. Second time there are no warnings
e: C:/Users/izgrablic/.gradle/caches/8.9/transforms/...
0
votes
0
answers
14
views
Error integrating google_maps_flutter and location packages in Flutter Kotlin Version Mismatch with Flutter SDK Versions
Description:
I'm facing an issue with Kotlin version mismatching the SDK versions in my Flutter project. Despite trying different versions of Kotlin and the Android Gradle plugin, I’m encountering ...
0
votes
0
answers
48
views
Error "APKs or Android App Bundles in this track must require the following features:android.hardware.type.automotive"
I am trying to add Automotive features to my app. I added a module with
<uses-feature
android:name="android.hardware.type.automotive"
android:required="true"
/>
...
0
votes
1
answer
40
views
How to add a maven dependency in gradle 8.x
My react-native android project is running on Gradle v8.3. I have files like settings.gradle and build.gradle in my android project.
The problem I'm having is when I try to implement PendoSDK for ...
-1
votes
0
answers
25
views
How can I run JaCoCo with gradle using Intellij?
I am getting the following error when trying to run a Spring Boot test with coverage in Intellij.
Caused by: java.lang.LinkageError: loader 'bootstrap' attempted duplicate class definition for java....
0
votes
1
answer
23
views
Run Gradle Code Automatically When Android Plugin Detected
tldr: I want some task configuration to run automatically whenever the Android Gradle Plugin is used. How?
I have a very large gradle project with many different build scripts. Some are android, some ...
0
votes
2
answers
36
views
Could not resolve com.android.tools.build:gradle:7.4.2 convention module
I'm trying to write gradle plugin in my android project. I have a build-logic module which contains convenion module. I wrote a small plugin JvmLibraryPlugin and registered it in the convention module ...
0
votes
0
answers
13
views
Build issue: Conflicts with Google Protobuf dependency with existing Firebase dependencies
Facing Issue when adding -
implementation 'com.google.cloud:google-cloud-vision:3.44.0' library in gradle facing error as shown in image
Gradle Error code below -
Caused by: java.lang....
1
vote
0
answers
21
views
After spring-boot update pom resolution failed
I updated the spring-boot version from 3.0.5 to 3.3.2. I am working with gradle 8.9
springBootVersion=3.3.2
dependencyManagementVersion=1.1.6
After that I sporadically get a lot of error messages ...
0
votes
1
answer
27
views
Could not determine the dependencies of task ':app:processDebugManifest' (FLUTTER)
I get this error when running my flutter application.
`FAILURE: Build failed with an exception.
What went wrong:
Could not determine the dependencies of task ':app:processDebugManifest'.
Could not ...