gradle-plugin Questions
6
I've just upgraded our project to use gradles build and configuration caches to help build speeds. But when running this command the build fails
gradlew dependencies --stacktrace --scan
I have thi...
Clothilde asked 25/6, 2021 at 8:22
5
Solved
I have a Spring Gradle project. I'm trying to make a build using gradle build command. But getting below error :
* Where:
Build file 'F:\MyProjectName\build.gradle' line: 2
* What went wrong:
An ...
Berry asked 25/12, 2019 at 11:13
41
Solved
I am getting this kind of error, how to fix it.
Error:Unable to load class 'org.gradle.tooling.internal.protocol.test.InternalTestExecutionConnection'.
Possible causes for this unexpected error Gr...
Antananarivo asked 18/7, 2016 at 17:41
3
Solved
i have two nexus repositories: one for releases, other for snapshots. i have code in publish task to define which repo to pick according to doc:
repositories {
repositories {
maven {
credential...
Dosser asked 9/7, 2020 at 13:24
3
Solved
Currently we are having problems running sonarqube for just a specific build variant. for example clienttestDebug
Our structure is like this. We have 3 different build types
Release
Debug
Profil...
Suave asked 8/10, 2019 at 8:26
3
I'm using Micronaut 3.1.3 together with Gradle 7.2 to build my project.
After switching to Gradle 7.3, built breaks emitting some context-free error message:
$ ./gradlew clean build
Executed by Gra...
Knockout asked 12/11, 2021 at 8:30
6
I'm currently trying out the Firebase analytics suit, but, i have faced one small issue, my app is distributed on both google play and amazon store (which doesn't support google play services), so ...
Illumine asked 8/6, 2016 at 5:12
7
Solved
I don't understand gradle plugins block
apply plugin: 'someplugin1'
apply plugin: 'maven'
and other one:
plugins {
id 'org.hidetake.ssh' version '1.1.2'
}
In first block We have some plugin ...
Disrespectable asked 2/9, 2015 at 12:12
2
Please assist, I am new to android studio none of the solutions provided in the previously asked questions has worked for me. I keep receiving the error:
Gradle sync failed: Plugin [id: 'com.androi...
Postpositive asked 24/7, 2022 at 14:58
1
The big picture
I have a library which is used as a dependency in other projects. The library has some configuration requirements related to test suites for each project depending on it.
This is wh...
Chinchilla asked 11/12, 2022 at 14:47
1
Solved
When I try to build my Android project, I'm facing this issue:
`
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could ...
Rationale asked 27/11, 2022 at 7:30
7
I used to copy 'compile' dependencies to a specific folder using this simple gradle task :
task copyLibs(type: Copy) {
from configurations.compile
into "$project.rootDir/reports/libs/"
}
But i...
Uralic asked 20/12, 2017 at 16:33
1
Solved
How can I apply the Kotlin plugins from a buildSrc plugin?
I have a Kotlin project with a build.gradle.kts file containing this:
plugins {
application
kotlin("jvm")
kotlin("plugin...
Bride asked 24/10, 2022 at 7:37
2
I'm writing am Android Studio Gradle plugin and one of the things I need to do is iterate over the projects and detect if they are of type Android Application or library (or a non android project l...
Platform asked 2/12, 2020 at 21:25
3
Solved
I'm defining a particular field in the BuildConfig for getting the URL during runtime. So, for each build type, I use a different string:
prod {
buildConfigField "String", "BASE_URL", "\"abc.com...
Milfordmilhaud asked 25/11, 2015 at 5:25
8
Solved
I've got a simple project in Gradle 4.6 and would like to make an executable JAR of it. I've tried shadow, gradle-fatjar-plugin, gradle-one-jar, spring-boot-gradle-plugin plugins but neither of the...
Forwards asked 14/3, 2018 at 12:40
3
I'm working on a custom Gradle plugin. For some reason IntelliJ is unable to find the sources of the gradle-api artifact and only shows the decompiled .class file. I am already using the -all distr...
Jameyjami asked 28/7, 2020 at 21:25
2
I am very excited about the incubating Gradle's version catalogs and have been experimenting with it. I’ve found that the information in my gradle/libs.versions.toml is accessible in the build.grad...
Pitchfork asked 1/6, 2021 at 19:59
12
when upgrading to android-studio 3.4.x/gradle build plugin 3.4.x /gradle 5.3 ... wondering if its an issue with the android plugin.
ERROR: No value has been specified for property 'manifestOutput...
Spence asked 8/5, 2019 at 4:25
3
I am in the process of migrating buildSrc convention plugins into standalone plugins. There are a lot of examples for creating Gradle plugins for Project objects, but a real dearth for Settings and...
Croak asked 12/9, 2021 at 7:47
3
I'm trying to compline my code(on new branch) but I got the error after I fix and updated build.gradle but before I run that code my code(on old branches) is still working.
So I checkout master br...
Flocculent asked 10/8, 2019 at 14:19
1
Solved
I have an Android Studio Project with an app module and several modules as lib (see my settings.gradle):
rootProject.name = "MyApp"
include ":app"
include ":lib1"
in...
Prying asked 29/3, 2022 at 22:8
0
I am trying to develop a grade plugin in java to configure version catalogs. The plugin can configure a version catalog in one of two ways.
Add a file to libs.versions.toml to the dependent projec...
Esmeraldaesmerelda asked 15/3, 2022 at 20:19
3
Solved
I am working with this example Gradle Plugin project:
https://github.com/AlainODea/gradle-com.example.hello-plugin
When I run ./gradlew publishToMavenLocal it creates these files in M2_HOME:
com...
Sigvard asked 18/2, 2019 at 23:55
1
Solved
Since I updated my Android Studio to Bumblebee in the project level build.gradle file contains the plugins block as bellow:
plugins {
id 'com.android.application' version '7.1.1' apply false
id '...
Publius asked 23/2, 2022 at 15:8
© 2022 - 2024 — McMap. All rights reserved.