gradlew Questions

3

When I tried to run the same test once again: $ ./gradlew -Dtest.single=KafkaStreamsTest streams:test > Configure project : Building project 'core' with Scala version 2.11.11 BUILD SUCCESSFU...
Jujube asked 1/9, 2017 at 0:25

5

Solved

I want to compile my app from command line, and not from Android Studio. My app works perfectly when I launch it from Android Studio to my device / emulator, however when I try to do : gradlew bui...
Sateia asked 7/1, 2019 at 15:44

10

Solved

When ever i install any dependency in my react native project and when ever i use link command for e.g react-native link react-native-gesture-handler this causes me an error shown in the image [1]....
Opalopalesce asked 29/1, 2019 at 6:48

4

Solved

How to setup Gradle publish task user credentials with GitLab CI secret variables? I am using gradle maven publish plugin, and here is snippet from build.gradle repositories { maven { credential...
Amal asked 2/7, 2018 at 14:0

2

When I execute gradle sometimes it takes very long to "Initzialize" (up to 40 seconds). PS C:\Users\Username\project> gradle build <------------> 0% INITIALIZING [35s] > IDLE ...
Chine asked 21/3, 2022 at 14:30

4

In my app, I have more than 30 build variants. Every time when I release the app, I need to publish it to different platforms, therefore I build 5 different build variants. Currently, I am doing th...
Orthopedics asked 2/8, 2022 at 18:30

11

I'm using Reactnative 0.54.0 and react-native-cli 2.0.1 along side gradle 4.8.1 I have created a react-native project using create-react-native-app myProjectName When I created the project, it do...
Ulrich asked 18/7, 2018 at 8:41

3

Getting exception while gradle/gradlew build. Build without test cases is successful. This happening when I updated the gradle to 6.0.1 Works fine for gradle 5.6/6.2 version. Could not write stan...
Gainey asked 25/2, 2020 at 3:13

2

Solved

How can I pass this params to gradle command e.g. ./gradlew clean build org.gradle.jvmargs=-Xmx2g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 gives error as * What ...
Bridgman asked 14/5, 2021 at 5:52

2

Solved

When I run ./gradlew from project folder I get: ./gradlew The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java. ...
Migdaliamigeon asked 9/8, 2021 at 10:42

1

I'm trying to create pre-commit hook with code style check and other errors. It's a multi-module project in Android Studio (java and kotlin). I was hoping to use lint, but no luck. My condition is...
Clatter asked 3/8, 2018 at 8:28

5

I'm trying to deploy our java web application to aws elastic beanstalk using docker, the idea is to be able to run the container locally for development and testing and eventually push it up to pro...
Nought asked 16/9, 2014 at 16:29

6

Solved

I'm confronting a weird issue using gradlew(4.10.2) + dagger(2.18). The problem is when I call: ./gradlew :app:compileDebugAndroidTestKotlin The build fails with: Task :Common:compileDebug...
Maramarabel asked 7/11, 2018 at 9:49

4

I saw this gradle error: "Could not initialize class org.codehaus.groovy.runtime.InvokerHelper". I have tried multiple ways listed online to fix the issue but no luck. During the debugging, I found...
Aesculapius asked 11/6, 2020 at 1:7

3

Solved

In an attempt to compile external jars, I have to use the terminal and do a clean. However, when I go into the root directory of my project and execute gradlew clean I get the following messag...
Polad asked 10/6, 2013 at 15:55

6

I am having an issue with building new projects on android studio. I keep on getting the error: Execution failed for task ':app:processDebugResources'. > A failure occurred while executing com....
Octavia asked 14/5, 2020 at 2:2

2

My Question is: Why does the jar-creation work with gradlew build, while I see "Task :jar SKIPPED" when I click on jar in intellij's gradle window ? And how can I fix it in IntelliJ ? Just create...
Palatinate asked 13/6, 2020 at 14:3

4

I am a new convert to Gradle. Most of the tasks work fine. However, I see that the war task is always skipped. When I run in the debug mode, I see the following logs - 09:12:34.889 [LIFECYCLE] [cla...
Cunaxa asked 2/8, 2017 at 3:59

10

Solved

I've been trying to compile and test a large project to use Gradle. The test run fine until they die unexpectedly. I dug around and resources said that this is due to a memory issue. If I reduce th...
Bilocular asked 16/8, 2016 at 6:30

11

Solved

I want to use Gradle 1.10 instead of 1.9. I cannot seem to find where to change this. If I put this: task wrapper(type: Wrapper) { gradleVersion = '1.10' } in my build.gradle and rebuild, it i...
Ruppert asked 8/8, 2014 at 13:52

3

Solved

My gradle project includes gradlew and gradlew.bat files inside of the repository, should they be pushed to git or not? I did not see anybody say they should be removed here. What is the purpose of...
Leola asked 13/5, 2017 at 15:37

4

Solved

I'm using Gradle version 6.1 in my project. The build.gradle for the project is given below : plugins { id 'application' } application { mainClass = 'com.mytestproject.Main' } java { sourceCom...
Pummel asked 23/5, 2020 at 18:29

3

I want to build apk from command line with the help of gradle. Which command should I use to build apks for only release flavours?
Farro asked 24/10, 2016 at 13:37

13

I am trying to generate a signed APK. I have my password.keystore file located in \Dictionary\android\app and when i ran gradlew assembleRelease on cmd, the error: Execution failed for task ':app:...

0

I am working on an Android project which uses a Gradle task with command line parameters. The task should be called from command line like that: gradlew myTask -Parg1=aaa Instead of calling it from...
Guadiana asked 4/2, 2022 at 22:47

© 2022 - 2024 — McMap. All rights reserved.