Skip to main content

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
2 votes
1 answer
71 views
+50

Class referred in Annotation cannot be found

In this project: https://github.com/wise-coders/groovyfx., a fork of GroovyFX (see source code). Upgrading to OpenJDK 17 and Gradle 7.6 I get this error (which did not happen under Java 8): Could not ...
9 votes
1 answer
10k views

Declare repository providing the artifact, see the documentation at

Task :app:checkDebugAarMetadata FAILED Execution failed for task ':app:checkDebugAarMetadata'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.example....
-1 votes
0 answers
22 views

Gradle Doesn't use correct JVM [closed]

I am currently trying to compile a basic mod build for Minecraft 1.12.2. However, when I type the gradle command it tells me: Unable to start the daemon process. This problem might be caused by ...
5 votes
1 answer
458 views

Upgrade Gradle wrapper version to 8.6 and Android Gradle plugin version to 8.4.1 make my android studio unable to build release .apk file

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....
1 vote
0 answers
17 views

AGP 8.4+ and Hilt (Android Library Modules in Multi-module architecture, R8)

I found this patch note when the 8.4 version came out: https://developer.android.com/build/releases/past-releases/agp-8-4-0-release-notes#library-classes-shrunk "Starting with Android Gradle ...
6 votes
6 answers
7k views

VerifyError: Verifier rejected class ... 'this' arg must be initialized

after third-party library upgrade I got a new crash on app launch: java.lang.VerifyError: Verifier rejected class ly.img.android.e: void ly.img.android.e.<init>(java.lang.String, boolean) ...
1 vote
1 answer
33 views
+50

GraalVM JS embedding with Uber Jar from Gradle

I am trying to integrate graalvm-js into my java application. I found the polyglot embedding demo: https://github.com/graalvm/polyglot-embedding-demo I set it up and using the mavin assembly plugin I ...
11 votes
3 answers
5k views

What is the meaning for GAV in Maven context?

Sometimes people say maven GAV, or in the GAV, or GAV artifact in Maven repository. What is the meaning for GAV in Maven context?
0 votes
0 answers
14 views

Missing classes detected while running R8

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 -> ...
0 votes
0 answers
17 views

How to customize docker packaged using gradle bootBuildImage

version: spring-boot: 3.3.0 jdk: 21 gradle: 8.6 I have a springboot application that I intend to use docker for containerized deployments (mainly for runtime management). It uses the logback logging ...
0 votes
0 answers
7 views

The supplied phased action failed with an exception. Could not open init generic class cache for initialization script

please help The supplied phased action failed with an exception. Could not open init generic class cache for initialization script 'C:\Users\ACER\AppData\Roaming\Code\User\globalStorage\redhat.java\1....
1 vote
1 answer
11k views

no main manifest attribute, in jar

I have a spring project with Gradle. I created a task in the build.gradle: task dockerFile(type: Dockerfile) { destFile.set(project.file('Dockerfile')) from "alpine:$alpineVersion" ...
0 votes
1 answer
50 views
+50

What gradle entries are required for implementing KSP and Room in a Kotlin Multiplatform

I am in the process of converting a kotlin application to kotlin multiplatform (anroid only for now to get through initial configuration) with room. This included moving to a libs.versions.toml file ...
3 votes
3 answers
6k views

<a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>. getting this errors after adding mapbox_gl and its sdk

app\buid.gradle def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties....
40 votes
9 answers
72k views

Circular dependency between the following tasks

I try to solve this problem for more than 5 hours. What could be the problem? Circular dependency between the following tasks: :app:checkManifestChangesDevelopDebug \--- :app:...

15 30 50 per page
1
2 3 4 5
3499