Skip to main content
The 2024 Developer Survey results are live! See the results

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.

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 ...
Oblivion's user avatar
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 ...
18446744073709551615's user avatar
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-...
code_dude's user avatar
  • 1,061
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....
Tobias Reich's user avatar
  • 5,122
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 ...
thatonetallguy's user avatar
-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 ...
Drained's user avatar
  • 109
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 ...
Maverick1st's user avatar
  • 3,774
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\://...
iBeginner's user avatar
  • 261
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: ...
sprogissd's user avatar
  • 2,985
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 { ...
Jerox's user avatar
  • 1
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 '...
Mohammad Huseyn's user avatar
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 ...
shizzleclover's user avatar
-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 (...
xyz6675's user avatar
  • 361
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....
John Doe's user avatar
  • 135
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_'...
Dragonite Brian 1024's user avatar

15 30 50 per page
1
2 3 4 5
3499