Category "gradle"

Sonar with multi-module gradle project

I have java and kotlin based multi module gradle project. I am trying to setup sonar analysis for the same. I configured sonar at root project and ran analysis

Gradle build-attribution unexpected attribution

I recently deleted and reinstalled my Android Studio IDE and my before working project still finishes building but gives an unexpected exception which is as fol

gradle kotlindsl extract logic to outer scripts

What is the recommended way to extract gradle build code blocks to external scripts? Notice these scripts should support references to the gradle project, extra

Failed build Project after change directory to external storage; Timeout waiting to lock Java compile cache (/.gradle/7.0.2/javaCompile)

I have an issue when building project after created a new project in different volumes in Mac Os. This what error said : Could not create service of type Defaul

How to build a WAR file with gradle?

I want to build a WAR file (and then deploy it to Tomcat). So, as an exercise, I've started a new Spring Boot Project using Gradle in IDEA IntelliJ. Afterwards,

Android studio Gradle Tab

I've started to work on an android project that has many Gradle tasks. After cloning the project from git, there is no Gradle tab in Android Studio!

Android giving Unknown constant tag 85 in class file

I was working in the android studio all thing were fine until it gives me a sudden error which I have no idea how to fix it. A problem occurred evaluating pro

flutter: Multiple projects in this build have project directory

I'm developing a flutter application on Mac, the app runs ok on ios when I try to run it on an Android device, it pops out: FAILURE: Build failed with an except

Process 'command 'C:\Program Files\Java\jdk\bin\java.exe'' finished with non-zero exit value 1 eclipse

**Error :** Process 'command 'C:\Program Files\Java\jdk\bin\java.exe'' finished with non-zero exit value 1 This error is getting when i am running the task wh

App isn't building after update Firebase Performance SDK

After update classpath 'com.android.tools.build:gradle:3.5.3' to classpath 'com.android.tools.build:gradle:3.6.1' Getting compile errors below.... Caused by: o

Springboot 2.6.0 / Spring fox 3 - Failed to start bean 'documentationPluginsBootstrapper'

I'm trying to initiate a Springboot project using Open Jdk 15, Springboot 2.6.0, Springfox 3. We are working on a project that replaced Netty as the webserver a

How to configure Gradle Java plugin from a custom Gradle plugin

I've written a custom Gradle plugin in Kotlin 1.2.50 for use with Gradle 4.8. I've successfully applied the Java plugin from my plugin's apply method: overrid

Suddenly facing this issue in react native firebase project: Could not determine the dependencies of task ':react-native-firebase:compileDebugAidl'

enter image description here Error: Configure project :react-native-firebase react-native-firebase: using React Native prebuilt binary from C:\Users\Clark\Deskt

How to run a command line command with Kotlin DSL in Gradle 6.1.1?

I am trying to run the code block below, after reading multiple posts on the topic and the Gradle manual. I run the below and get the following error: execComma

Fuel SDK ETClient causing Exception in thread "main" java.lang.NullPointerException

I know this is caused by a null value, however I'm fairly new to java and not sure why it's null. Have I not instantiated ETClient correctly? Or overlooked some

Failed to apply plugin 'no.nils.wsdl2java'. Configuration with name 'compile' not found

when migrating to gradle 7.x getting below error * What went wrong: An exception occurred applying plugin request [id: 'no.nils.wsdl2java', version: '0.12'] &g

How to pass environment variables to the gradle wrapper build using only command line?

I am trying to pass env variables locally with strictly a command line command. At deploy, these variables get passed into the docker container, but when runnin

Daemon is stopping immediately JVM garbage collector thrashing and after running out of JVM memory

When I build multi module java project using gradle 6.0,when I add >30 modules.Throw this error: Gradle Daemon started in 2 s 267 ms > Configure project

How Do I Solve Android Gradle Plugin Error On Android Studio 3.1.1?

I upgraded Android Gradle plugin to version 3.1.1 and Gradle to Version 4.4. I got the error. How can I solve it?. Please, Anyone. Could not find method fla

Get last modification dates of files in directory in git

I have a folder full of files and I want to get the timestamps of last git update for each of those files. I'd like to get those in a Gradle task. I tried the f