Category "gradle"

Gradle problems of adding koin test dependencies

I'm a beginner with gradle and would like to use koin in my Kotlin project. However, I get the following error Execution failed for task ':compileTestKotlin'. &

Why does Android Studio say "Test events were not received"?

I'm trying to unit test in my android application, and this is the simple test tutorial what i'm doing. import static org.junit.Assert.*; import org.junit.Test

I have problem with gradle in flutter. Could not open settings generic class cache for settings file

Here is the error: FAILURE: Build failed with an exception. What went wrong: Could not open settings generic class cache for settings file 'E:\proj\android\sett

Can't add jvmArgs using add(), why?

Can anyone explain why the first sample working while the second does nothing? test { jvmArgs '-Xdebug', '-Xrunjdwp:transport=dt_socket,server=

Gradle Issue with TestNG : No tests found for given includes

I am having difficulties with testNG + Gradle. My tests have worked fine, but I made some changes to the file where I have tests, and now this issue pops up. "E

How to get source code directory in Gradle plugin?

I want to get the directory of Java files in a Groovy plugin. For example, I have a Java file in a directory: "/gradleProject/src/main/java/com/file.java" H

Could not get unknown property 'RELEASE_STORE_PASSWORD' for SigningConfig_Decorated{name=debugY

I've been having this problem recently as I'm searching everywhere, also here in stack, I see a lot of different answers. Does anybody know how to solve this on

Replace placeholder in file with gradle

I have gradle task swagger-codegen with the following configuration: swaggerSources { testProject { inputFile = file("$buildDir/generated/input.json")

android studio cannot resolve symbol 'GradleException'

Creating new Android Studio project get the following exception in Gradle build file: Cannot resolve symbol 'GradleException' Gradle still builds successfu

Kotlin could not find the required JDK tools in the Java installation

When running ./gradlew clean build I get following message: > Task :compileKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execu

Using environment variables in gradle.properties file

I'm trying to set "org.gradle.java.home" property in gradle.properties file to run my Gradle project on Java 8 while the rest of my system uses Java 7. Hence, J

How to use spring boot in gradle without the spring boot gradle plugin

Can anyone show me or point me to a spring boot gradle project that does not make use of the spring boot gradle plugin. I'm looking for something like a sprin

Compile a JDK 8 project + a JDK 9 "module-info.java" in Gradle

I'm working on a Java library targeting JDK 8, and I'm building it in Gradle 5 using OpenJDK 11. In order to target JDK 8, I'm javac's --release option. Howeve

args4J doesn't work with gradle

I'm totally new to gradle so it may be a obvious problem: I'm using eclipse with gradle and I actually have no problem adding dependencies for junit or stuff,

No signature of method: .android() is applicable for argument types. Exception in build.gradle (app)

Exception is: org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app' Caused by: groovy.lang.MissingMethodException: No signature of

how to exclude a folder from checkstyle of Gradle on Intellij

I am new for IntelliJ and Gradle, but I have enough experience on Java and Eclipse. I generated some java classes from wsdl file. I put them under src/main/reso

Bitrise: Could not resolve all artifacts for configuration ':classpath' Could not resolve com.google.gms:google-services:4.2.0

After updating com.android.tools.build:gradle and com.google.gms:google-services I can build project local (command gradlew build --scan) but in Bitrise I get B

how to solve this problem in android studio?

Starting Gradle Daemon... Gradle Daemon started in 5 s 654 ms FAILURE: Build failed with an exception. Where: Build file 'C:\Users\ASUS\AndroidStudioProjects\Cu

IntelliJ IDEA not showing subproject

A stupid problem happened to me, but I don't understand where I went wrong. I have a project with subprojects. In the IDE I see this picture My root build.gra

(React Native): Execution failed for task ':app:generatePackageList'

I am generating an apk of a project that I developed using React Native. But when I run the command ./gradlew assembleRelease The following error appears: >