Category "gradle"

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: >

Unexpected lock protocol found in lock file. Expected 3 found 0

In android studio I keep getting this error message when building. I've tried deleting the .gradle file multiple times and restarting the IDE but the error do

AppDistribution Gradle plugin with Gradle 7

I am using Android Gradle Plugin version 7.0.0-alpha14 and Gradle version 7.0 and when I try to upload the app to app distribution through the Gradle plugin ver

JCenter deprecation; impact on Gradle and Android

Should I be worried about JCenter being deprecated? Why should I migrate my libraries from JCenter to other Maven repositories? Can I continue to use jcenter()

Execution failed for task ':app:processDebugResources'. failed to execute aapt

In Android Studio I have this error when I update Android SDK Tools to version 25: I tried to modify SDK version in gradle build to 21 to execute my app but

How to reduce my java/gradle docker image size?

I have a Docker file like the following: FROM openjdk:8 ADD . /usr/share/app-name-tmp WORKDIR /usr/share/app-name-tmp RUN ./gradlew build \ mv ./build/l

Using gradle project variable in buildscript scope

There is a similar question here Access project extra properties in buildscript closure but i found a "workaround" which does not look like the optimum I have

MainActivity.java - cannot find symbol reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED)

I've upgraded react-native to latest version (0.68) through react-native CLI, and now every time I'm trying to build for android I get this error: error: cannot

artifactId equivalent in Gradle?

I see in my default build.gradle, generated by IDEA, that group and version were set with: group 'com.mycompany.mytopic' version '1.0-SNAPSHOT' How to set ar

Gradle sync failed: CreateProcess error=216

I am running windows 7 32bit. I have upgraded from Android Studio from 1.5 to 2.2 and started following problem. I tried creating project but it didn't fix the

\gradle-wrapper.properties not found in Android Studio

\gradle-wrapper.properties not found in Android Studio I have cloned a git project and I am getting the below issue. How to resolve it?