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
-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 ...
Jxyzh's user avatar
  • 1
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 ...
No_Name's user avatar
  • 66
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 -> ...
No_Name's user avatar
  • 66
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 ...
greyWolf 's user avatar
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....
mobssspro's user avatar
0 votes
0 answers
22 views

Android Studio : The application could not be installed. Device went into offline mode after running MainActivity

I have been installing a debug app on my physical Android phone, but today it suddenly stopped working and showed this error: "The application could not be installed". There is no error log ...
NhVNgn's user avatar
  • 1
0 votes
0 answers
11 views

How do I report multiple errors per file in Intellij?

I have a Gradle plugin, written in Kotlin, that preprocesses files with a custom parser. It is designed to be able to handle multiple errors per file and the plugin processes multiple files in a batch....
Kikugie's user avatar
  • 41
-1 votes
0 answers
10 views

IntelliJ IDEA Spring Boot - How to disable "automatically detecting descriptor settings in application.properties"

It seems that with this feature on, Gradle won't generate a plain war for tomcat deployment; it will only generate a war executable using spring boot launcher which is not what I needed in this case. ...
user6332430's user avatar
0 votes
0 answers
12 views

How do I get IntelliJ to recognize arguments defined in my ~/.grade/gradle.properties file?

I'm running IntelliJ 2023.3.4 on Windows. I have imported a Gradle project and I have these lines in my build.gradle file ... credentials { ≠≠ username = "${my_user}" ...
Dave's user avatar
  • 17.3k
0 votes
1 answer
24 views

Error generating build android Expo(Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information)

I am trying to generate an Android build using React-native and Expo, but I have been encountering the following error: Error: Gradle build failed with unknown error. See logs for the "Run ...
Lima's user avatar
  • 3
0 votes
0 answers
8 views

open api generator kotlin gradle dsl - cant generate specific api endpoint

i am using open api generator kotlin dsl build.kts gradle task version 7.0.1 to generate spring 2.7.18 web clients expected: generate 1x MeterApisAPi and 1x model openApiGenerate { globalProperties....
tytx t's user avatar
  • 1
0 votes
0 answers
12 views

How to use Java 8 libs in Java 11 or later applications?

I need several jar libraries that are build with Java 8 and that do not contain the needed module-info.jar files. But the application's dependencies require at least Java 11 (JavaFX). Compiling is ...
user25056389's user avatar
-1 votes
0 answers
38 views

How to import a gradle project (Minecraft Forge Mod) into VSCode? [closed]

I downloaded the Minecraft Forge MDK (Minecraft 1.21), then I exported it into a folder called "MyModTemplate", and then opened it in VSCode. The problem is that after I opened it, it gave ...
Almohtady Bellah's user avatar
0 votes
0 answers
13 views

How to specify an assertj template for every subproject?

I have defined some assertj templates in one of my subprojects. In the root build.gradle.kts I have: plugins { id("org.assertj.generator") version "1.1.0" apply false } ...
peer's user avatar
  • 4,547
0 votes
0 answers
7 views

How to get Kover report which contains coverage of one sub-project from tests executed in another sub-project?

Consider the following settings.gradle.kts include("domain") include("app") include("special-e2e-test-suite") As you can see, I have some special test suite in a ...
Kirill's user avatar
  • 7,644
0 votes
2 answers
17 views

Why I am getting this error? - SLF4J: Class path contains multiple SLF4J bindings

Error :- SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/rm694/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.3/...
Roshan M's user avatar
0 votes
0 answers
12 views

A problem occurred evaluating project ':app'. > Could not get unknown property 'flutterRoot' for project ':app' of type org.gradle.api.Project

FAILURE: Build failed with an exception. Where: Build file 'C:\Users\Slava\AndroidStudioProjects\fbiblioteka\android\app\build.gradle' line: 2 What went wrong: A problem occurred evaluating project '...
slay1k's user avatar
  • 1
1 vote
0 answers
27 views

Error with nativescript compilation due to gradle version change?

I have a nativescript project that is built through jenkins. Up until July 9th, the project built without any issues. On that same day, and after a commit, the build stopped working. To make sure that ...
Miguel Mesquita Alfaiate's user avatar
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 ...
GeorgeRussell's user avatar
0 votes
1 answer
24 views

android:exported needs to be explicitly specified for <receiver>. required to specify an explicit value for `android:exported`

so I am trying to build my app but unfortunately unable to perform it and encountering this error D:\Code\Flutter\Manager\mmanager\android\app\src\main\AndroidManifest.xml Error: android:exported ...
Tanmay Nandwana's user avatar
0 votes
0 answers
16 views

Flyway custom migration in gradle

I have two docker container for two databases: One for production, one for testing. I want the testing database container to be migrated with my flyway migrations of production to get the exact same ...
chris's user avatar
  • 11
0 votes
1 answer
15 views

Do I need properties for passing parameters to a Gradle plugin?

I am writing a Gradle plugin. What is the recommended way to pass parameters to it? The Writing Custom Gradle Plugins Baeldung tutoral (section 4, "Plugin Configuration") recommends creating ...
18446744073709551615's user avatar
0 votes
0 answers
19 views

Integrating TrustWalletCore in KMM Project: Issues with Swift Wrapper and Dependencies

Hello Stack Overflow community, I'm currently working on a Kotlin Multiplatform Mobile (KMM) project and trying to integrate the TrustWalletCore library. I've encountered several issues, particularly ...
user3884677's user avatar
0 votes
0 answers
15 views

Nativescript Android stuck on splash screen

I am upgrading my nativescript app to support android 34 and facing this issue when app just stuck on splash screen and closes after a while. here is my app.gradle file:- // plugins { // id '...
Tushar's user avatar
  • 1
0 votes
0 answers
10 views

How to rely on the task generated in the afterEvaluate callback in the submodule gradle plugin (Gradle 8.0+)

There is an gradle plugin in my submodule. This plugin will generate some files in the afterEvaluate callback and put them in the assets folder. The main project will package these files into the apk ...
android_su's user avatar
  • 1,667
0 votes
0 answers
15 views

"run all tests" on Android Studio Koala no working

Android Studio Koala | 2024.1.1 Patch 1 Build #AI-241.18034.62.2411.12071903, built on July 11, 2024 Runtime version: 17.0.11+0--11852314 amd64 Windows 10.0 WSL2 When I try to "Run all tests&...
Rafael Moreira's user avatar
-1 votes
1 answer
26 views

Do gradle daemons persist cacerts?

I'm working with a Java code base that uses Gradle with Groovy for build automation. Our build logic has pluginMangement decleration with repositories nested inside. Initially, the build logic was ...
Shawn Armstrong's user avatar
-1 votes
1 answer
28 views

ServiceImpl defined in a dependent jar library is not found by spring in MainApplication

I have created a springboot application which will serve as a library for my MainApplication. This library has some service class, repository class and entity, basically an independent feature which ...
BaMiniCo's user avatar
0 votes
0 answers
17 views

Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'kaptGenerateStubsDebugKotlin' (17)

I have tried all of the listed solutions I can find on the Internet and am stumped. I'm updating to Java 17 from 1.8, and I am getting the error: Inconsistent JVM-target compatibility detected for ...
petestmart's user avatar
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 ...
Jonathan R's user avatar
  • 3,810

15 30 50 per page
1
2 3 4 5
1748