gradle-plugin Questions

2

Inside Android Studio I'm getting the error: Generating signed Bundle requires you to update the Android Gradle plugin to version 3.2.0 or higher If I click "Close this dialog and update the plu...
Intercontinental asked 10/5, 2020 at 22:28

1

Solved

This article describes an interesting feature of Gradle 4.10+ called a source dependency: https://blog.gradle.org/introducing-source-dependencies It allows to use a Git (for example a GitHub) sourc...
Clasping asked 28/8, 2020 at 13:29

1

I'm using Gradle Spring dependency-manager plugin for importing Maven BOM definition in project. And I need to exclude one module defined in BOM. Will be nice to do something like this, but mavenB...
Coumarin asked 19/8, 2015 at 21:40

1

Based on the following maven configuration from this SO question, answered for Maven builds, I need an equivalent bit of code for a Gradle setup. Looking around, I can't find a setup that does this...
Larrup asked 26/6, 2019 at 23:6

1

Solved

I have a simple plugin with greet task doing some 'Hello World' print. plugins { id 'java-gradle-plugin' id 'groovy' id 'maven-publish' } group = 'standalone.plugin2.greeting' version = '1.0' ...
Bemuse asked 7/7, 2020 at 9:25

1

Solved

I use gradle with the two plugins com.jfrog.artifactory and io.swagger.core.v3.swagger-gradle-plugin . Now I want to configure as described here https://github.com/swagger-api/swagger-core/tree/mas...
Broadway asked 26/6, 2020 at 5:47

4

Solved

I imported a project downloaded from GitHub into my Android Studio project as module. The "Import module..." wizard worked fine, but when the Adroid Studio tried to rebuild the project, it returned...

35

Solved

I have next grade dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0-rc01' implementation 'com.android.support.cons...
Gelsenkirchen asked 10/8, 2018 at 19:58

2

I am trying to set up Android Library via Kotlin Multiplatform Library. I am getting error: Plugin [id: 'com.android.library'] was not found in any of the following sources: Please help me by po...

0

I have a gradle project that uses kotlin dsl: plugins { base kotlin("jvm") version "1.3.70" apply false } //val scalaV: String by project //val ext = SpikeExt(this) allprojects { apply(pl...
Wimple asked 16/5, 2020 at 0:9

6

Solved

Getting this Warning (Even when variant.getAssemble() is not used anywhere): API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'. I have updated fo...
Interference asked 15/1, 2019 at 6:7

1

In real world, if you're writing ui tests for android project, after press 'Run' from Android Studio, it will assemble two apps: 'your.cool.app' and 'your.cool.app.test'. Test app will have in andr...

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

I'd like to create a class to help me loading different types of properties (local.properties, gradle.properties, $GRADLE_HOME/gradle.properties, environment variables, system properties, and custo...
Abbreviation asked 16/2, 2020 at 17:33

1

Solved

Gradle 6.1 I am having difficulties to use the new plugin configuration mode in Gradle with a custom plugin coming from a custom repository. buildscript { repositories { maven { url = uri("htt...
Predetermine asked 3/2, 2020 at 0:1

3

I have a test that correctly fails with an InaccessibleObjectException when I run it with JVM args --illegal-access=deny in Eclipse. I want it to fail the same way when I run gradle check. I trie...
Lacy asked 16/1, 2020 at 16:41

1

Gradle 4.10.2 NOTE: I posted the same question in the Gradle Forum page but have had 0 traction after 1 week. I’ve read Could not find implementation class for plugin error when using Gradle 4.1+...
Famous asked 3/12, 2019 at 18: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

Solved

I have searched for the tutorial to deploy Spring boot application using Gradle. I failed to find any resource that explains the process to do so. Can anyone guide me the process? My project work...
Belton asked 27/8, 2018 at 15:22

1

Solved

I have the following pre-compiled script plugin, which applies a Gradle core plugin and an external plugin (via id(...)): // buildSrc/main/kotlin/my-template.gradle.kts: import org.gradle.api.Java...
Turnstile asked 12/11, 2019 at 21:18

1

I have a multiproject gradle configuration and I wanted to add a plugin to all subprojects and the root project as well. Reading the docs here seems to be easy: If you have a multi-project build...
Deberadeberry asked 30/5, 2019 at 19:50

5

Solved

I would like to make something like (pseudo code): if (BuildType == "release"){ apply plugin: 'testfairy' } else if (BuildType == "debug"){ apply plugin: 'io.fabric' } The idea is that based o...

7

Solved

My project is comprised of two modules, one is the application module and the other is a library module. My build processes works fine until I added two gradle plugins : This is the root build.gra...

7

Solved

I´ve updated my Android Studio today to the 3.3 version which came with Gradle plugin version 4.10.1. Previously, my build.gradle was renaming my apk´s with this code to the following structure: ...
Garnettgarnette asked 15/1, 2019 at 10:14

2

I started a spring boot application using gradle bootRun. Doing ctrl-c in the terminal where I launched the command does not stop the application. What is then the correct way of stopping it?
Engaging asked 21/11, 2018 at 19:29

© 2022 - 2024 — McMap. All rights reserved.