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.

0 votes
0 answers
18 views

composeCompiler inside a Gradle Plugin

I would like to configure the compiseCompiler inside my Plugin but I am unable to access it. I tried this way: class AndroidApplicationComposeConventionPlugin : Plugin<Project> { override ...
No_Name's user avatar
  • 66
0 votes
0 answers
15 views

Generate Sonarqube Report In Gitlab

I'm trying to download the result of our scan in gitlab job. In the documentation, there are no information about this topics. I need to start any script shell, gradle to do that. Any help ?
Younes Ben Tlili's user avatar
0 votes
1 answer
32 views

Configuring Gradle (Java Project) to use KeyStore/TrustStore for only one maven repository (Sonatype Nexus Repository 3)

I have successfully set up Sonatype Nexus Repository 3 on my server with SSL configured using KeyStore/TrustStore. I developed some Java libraries (using Gradle) to test the publication to the ...
Mehrer Compression GmbH - IT's user avatar
1 vote
1 answer
33 views

gradle plugin not found after publishToMavenLocal

I want to publish my plugin in my local Maven repository, and it does not work. The plugin looks published, but is not found after publishing. This happens even with the "hello-world" plugin ...
18446744073709551615's user avatar
0 votes
0 answers
40 views

Plugin [id: 'com.android.application', version: '8.5.0', apply: false] was not found in any of the following sources

Plugin [id: 'com.android.application', version: '7.4.1', apply: false] was not found in any of the following sources: What is the problem?
Arshia Ghebleh's user avatar
-1 votes
1 answer
23 views

Trying to update my outdated android app (Native)

I've gone back to try and update my old app which is essentially a dark filter app that turns on when you move the phone around It runs as it should do on most phones however it ends up crashing on ...
The Academic Weapon's user avatar
0 votes
1 answer
33 views

GraalVM native gradle plugin using nativeCompile fails using nativeCompile task

Am able to build a sample console Kotlin project using ./gradlew clean build but am unable to generate a native image using the GraalVM native gradle plugin... After a successful build, the subsequent ...
PacificNW_Lover's user avatar
0 votes
0 answers
27 views

Android Studios Gradle issue [closed]

Image of error I'm following a course on Coursera and I've gotten to one of the assignments and followed the instructions and once I've launched Android Studio and then opened the folder, I've updated ...
Bogdan Mieldzicz's user avatar
0 votes
0 answers
20 views

Download jar from a second maven repository

I have the following Gradle 8.9 configuration: plugins { id 'org.springframework.boot' version '3.2.7' id 'io.spring.dependency-management' version '1.1.6' id 'java' } group = 'com.test' ...
Peter Penzov's user avatar
  • 1,058
0 votes
0 answers
18 views

Why cant a Kotlin library Module depend on an Android Library Module?

I am trying to have this dependency graph: presentation (Android Module) -> domain (Kotlin Module) -> data (Android module) And whenever I make domain to depend on data implementation(projects....
No_Name's user avatar
  • 66
0 votes
1 answer
32 views

Multi module build error :domain:main: Could not resolve project :data

I have a simple multi module structure app module presentation module (Android library Module) domain module (Kotlin library Module) data module (Android library Module) The dependency graph I ...
No_Name's user avatar
  • 66
0 votes
1 answer
33 views

Switch repository based on environment

In my local development environment, I need to use my local repo. But when I build in cloud, I need to use remote repo. Can someone please help me to achieve this as I'm new to gradle? EDIT: This is ...
Kapila's user avatar
  • 87
1 vote
0 answers
27 views

Unresolved reference: multiplatformResources in Kotlin Multiplatform Project using MOKO Resources

`I am working on a Kotlin Multiplatform project and trying to integrate MOKO Resources. I followed the installation instructions according to the official documentation, but I'm encountering an "...
Riccardo Queiros Casu's user avatar
0 votes
0 answers
32 views

How to use a variable in Android build.gradle.kts

Root directory build.gradle.kts extra.apply { // true: debug mode; false: distribute mode. set("isDebug", true) } Main module build.gradle.kts val isDebug = rootProject.extra["...
CorianderSaint's user avatar
2 votes
1 answer
70 views

Failed to build apk in flutter project with fire base

when i want to buil my apk by using flutter build apk i get the following error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:...
Ali's user avatar
  • 21

15 30 50 per page