gradlew Questions
7
I am doing university project where we need to run multiple Spring Boot applications at once.
I had already configured multi-stage build with gradle docker image and then run app in openjdk:jre im...
2
I have a very large project, with many sub-projects configured in Gradle. When I do a clean build from the command line, it takes about 10 minutes, but after that, building the whole project is ver...
Bracelet asked 5/7, 2016 at 18:4
3
Solved
When I run the following on a command line:
./gradlew -lint
I get different results than if I choose the following menu option within Android Studio.
Analyze->Inspect Code...
Can anyone ex...
Catena asked 22/7, 2014 at 20:56
3
Solved
I´m trying to build my gradle projects from other locations than the project folder itself, but it always says it couldn´t find build task.
What I´ve tried so far:
sudo ./myprojects/myapp/gradlew ...
2
Solved
This Dockerfile:
FROM openjdk:7
WORKDIR /restdocs/
RUN git clone https://github.com/spring-projects/spring-restdocs.git /restdocs
RUN git checkout v1.1.2.RELEASE
RUN ./gradlew build
built with...
2
Solved
below is a small (build.gradle.kts) script which gives at line 9 (the classpath line) the error : Cannot get property 'kotlinVersion' on extra properties extension as it does not exist
buildscript...
2
Solved
I try to run this command to list all the dependencies of firebase-messaging library :
gradlew :app:dependencyInsight --configuration compile --dependency firebase-messaging
but it's return me :...
Tomikotomkiel asked 4/4, 2018 at 8:23
2
Solved
I have mutiple modules in my android project. if i make a release apk with :app:assembleRelease it works but when i make a release apk with assembleRelease it keep showing error. I know there's err...
1
Solved
I'm kind of stuck troubleshooting an issue.
During a Jenkins build I see the following error:
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: ht...
Honeybunch asked 16/3, 2020 at 16:19
1
Solved
I'm writing a Room database into my getFilesDir() folder. (Writing the database onto the removable SD card is apparently going to require some major research!)
When I manually run my app, I want t...
Placable asked 9/8, 2019 at 16:24
1
Solved
I am using Flutter with multi flavors. And I'm trying to automate the building of apk. I declared this lane:
lane:
desc "build apk"
lane :test_build_android_app do |options|
gradle(task: "assem...
3
For a helping lib I use, I recently get:
Error:Unable to resolve dependency for ':app@debug/compileClasspath':
Failed to transform file 'mylib-release.aar' to match attributes
{artifactType=an...
Panacea asked 21/11, 2017 at 12:59
4
Intellij Idea 14.1.2, Gradle 2.3
I have a project with few java subprojects. Gradle builds works as expected but Intellij Idea does not capture the output of it and does not show the Messages Tool...
Vampirism asked 4/5, 2015 at 18:34
1
Solved
The scroll bar in WSL is not usable while running a process. My attempts to scroll up are futile because the system automatically sets the scroll bar to the bottom of the window since there's a pro...
Bubo asked 4/11, 2019 at 22:44
1
Solved
I have a gradle task which runs some code checks, which is usually executed during build.
Since this tasks takes a long time, I implemented a flag so that it is not run during normal build, but nee...
Baneberry asked 13/11, 2019 at 12:34
1
My project structure looks like bellow:
-Main dir
- .gradle-wrapper
| - gradle-wrapper.jar
| - gradle-wrapper.properties
|
- projects
- library
- library-consumer
Inside library and libra...
Stodgy asked 30/7, 2018 at 10:48
1
Solved
I am trying to build an android project from the command line using
./gradlew app:assembleDebug
However when I build the task fails with:
> Task :app:externalNativeBuildDebug FAILED
FAILUR...
Textile asked 8/10, 2019 at 20:39
1
Solved
i am facing this issue
sparsh610@DESKTOP-551C51M:/mnt/e/xxxxxxxxx$ ./gradlew mm
: not found2: ./gradlew:
: not found8: ./gradlew:
./gradlew: 52: ./gradlew: Syntax error: word unexpected (expecting...
10
Solved
I'm trying to build a gradle project with gradle-wrapper (gradlew).
When I build with ./gradlew build, it outputs text
Downloading http://services.gradle.org/distributions/gradle-1.11-bin.zip
...
6
Solved
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/libs/app-name*.jar /usr/share/app-name/ap...
Disrespectable asked 4/12, 2016 at 11:23
0
I want to use local gradle distribution instead of gradle wrapper. I use IntelliJ for android projects. For starting new gradle projects I get and option window asking for which distribution to use...
Prognostic asked 7/6, 2019 at 9:21
1
After update to gradle 5.2.1
Deprecated Gradle features were used in this build, making it
incompatible with Gradle 6.0.
So I run ./gradlew :app:clean --warning-mode all
I have warnings in c...
Pulchia asked 4/3, 2019 at 20:47
1
Solved
I have a spring boot project build with Gradle. When I clean/build project, I have these external libraries, marked as library root. And I can use it in my classes: import org.gradle.api.tasks.*
...
Pretonic asked 17/5, 2019 at 9:3
1
when I upgraded my google-services version to 4.1.0 and gms:play-services-maps:16.0.0 getting below error during building the project.
A problem occurred evaluating root project ':app'.
> Faile...
Academia asked 16/5, 2019 at 6:12
1
Solved
I want to use distributionUrl pointing to "ALL" for local builds, but "BIN" for CI builds.
Let's say I run Gradle Wrapper locally like this:
./gradlew test
And my gradle-wrapper.properties file...
© 2022 - 2024 — McMap. All rights reserved.