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.

-1 votes
0 answers
41 views

java version not change in flutter

I am having trouble changing the Java version for Flutter. I installed JDK version 22 and updated the JAVA_HOME environment variable to point to the new JDK 22 path. I also added JAVA_HOME\bin to the ...
edris satiyari's user avatar
0 votes
1 answer
34 views

Which is difference between two different imports?

I created a new project and there is some differences on importing on gradle files, I don't understand why its different from other projects that I have, is this wrong, can somebody tell me the ...
Flutura Demaj's user avatar
-1 votes
0 answers
33 views

Issue with Hilt Application Class: Gradle Dependency Conflict

I'm working on an Android project that runs fine without the following Hilt application class: package com.app.bestride import android.app.Application import dagger.hilt.android.HiltAndroidApp @...
Aashish Ace's user avatar
0 votes
1 answer
31 views

NoClassDefFoundError when running JDA on Minecraft Java Plugin

import org.bukkit.plugin.java.JavaPlugin; public class Main extends JavaPlugin { @Override public void onEnable() { BotStart.botStart(); } } import net.dv8tion.jda.api.JDABuilder;...
Xeon's user avatar
  • 1
0 votes
0 answers
18 views

How can I warn users when they download an outdated jar from my maven repository in gradle?

Essentially, I'm looking for a way to output a warning message to gradle when a user has a dependency on one of my older jars from my maven repository. Is this even possible? Eg: "You've ...
mineblock11's user avatar
1 vote
0 answers
13 views

Compile Kotlin desktop application into single exe

I've got a Kotlin desktop application that I compile with Gradle into a self-containing distributable folder. However, that output folder contains 372 files making it difficult to publish so I zip it ...
t3chb0t's user avatar
  • 18k
0 votes
0 answers
50 views

R8 Minification Fails After Upgrading to Jetpack Compose BOM 2024.06.00 with SDK 34 Migration

I recently upgraded my project from Compose BOM 2023.06.01 to 2024.06.00 after migrating to SDK 34. While the debug build works fine, the release build fails during the R8 minification step with ...
Shubham Bhattacharyya's user avatar
0 votes
1 answer
55 views

Plugin [id: 'com.android.application', version: '7.3.0', apply: false] was not found in any of the following sources: - Gradle Core Plugins (plugin

I just created a new flutter project. Without modifying any thing, I tried to run the project in a physical device (SM N975F (mobile) • RF8M802FS2E • android-arm64 • Android 12 (API 31)), but I got ...
ubakasi's user avatar
  • 45
-1 votes
0 answers
46 views

What does this Gradle lines mean?

This lines are from GroovyFx project, which was written for Java 8. What does the classpath variables mean and how can be this translated into the latest Gradle specifications?: configurations { ...
DbSchema's user avatar
  • 399
0 votes
1 answer
24 views

How to refer code from one independent gradle project to another gradle project?

Project |- api-gateway (package) |- base-service (package) |- service-discovery (package) |- user-service (package) This is my project structure. There is no root project. Every project is ...
Praveen K's user avatar
0 votes
0 answers
19 views

Showing All Messages Plugin [id: 'com.android.library'] was not found in any of the following sources: error when installing the Pod in iOS

I'm updating our Kotlin multi platform project to the latest version of kotlin, Gradle and various plugin, which basically is is just our API interface and we use in our native mobile app projects. As ...
Vincenzo's user avatar
  • 6,002
0 votes
2 answers
34 views

Error with './gradlew assembleRelease': Failed to install Android SDK packages due to unaccepted licenses

Background: I'm encountering an issue while trying to build a release version of my Android application using './gradlew assembleRelease'. I've already accepted all Android SDK licenses using the ...
Freq's user avatar
  • 1
-3 votes
0 answers
30 views

Could not find gradle-8.3.0.jar (com.android.tools.build:gradle:8.3.0) [closed]

i just start new project in android studio and see this error 1'. Could not resolve all files for configuration ':classpath'. Could not find gradle-8.3.0.jar (com.android.tools.build:gradle:8.3.0).
omid 's user avatar
  • 144
0 votes
1 answer
39 views

A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction Required array size too large

I am getting this error while I am building APK. These are error log: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compressDebugAssets'. > A ...
pf-zp's user avatar
  • 1
2 votes
1 answer
54 views

Automatic Module present but not found

In my Java 21 project, I'm trying to use the package io.jsonwebtoken.Jwts in the library jjwt-api. This dependency has no module-info.java and no Automatic-Module-Name-entry inside of the MANIFEST.MF. ...
xtay2's user avatar
  • 607

15 30 50 per page