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,458
questions
0
votes
0
answers
7
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 ...
-1
votes
0
answers
36
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 ...
0
votes
0
answers
11
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
}
...
0
votes
0
answers
4
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 ...
0
votes
2
answers
13
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/...
0
votes
0
answers
11
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 '...
1
vote
0
answers
23
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 ...
0
votes
0
answers
19
views
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 ...
0
votes
1
answer
18
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 ...
0
votes
0
answers
14
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 ...
0
votes
0
answers
9
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 ...
0
votes
0
answers
14
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 ...
0
votes
0
answers
14
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 '...
0
votes
0
answers
9
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 ...
0
votes
0
answers
13
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&...