gradle-plugin Questions

2

Solved

How can I retrieve the version of Gradle itself programmatically from within a Gradle plugin?
Cirone asked 28/4, 2015 at 13:18

1

I recently updated the Gradle plugin from version 3.4.2 to 3.5.0. The code to access the list of Drive files has stopped working. I get: 403 Forbidden domain": "usageLimits", "reason": "dailyLimitE...
Farver asked 23/8, 2019 at 12:5

1

Solved

Me and my team are blocked to Android Studio 3.2.1. Any android studio after this one show error for ressource. Ressource are still clickeable/inspectable from editor but are in red. Preview of fra...

4

Solved

I have quite big multi module, multi flavor multidex project, but recently I got error when trying to do command line build (assemble{flavor}Release) Message is: DexOverflowException: Cannot fit ...

5

Solved

I'm writing a Gradle plugin in Java. In order to use the IDE for developing (especially code completion), I need to add to the pom.xml file of the project the dependency information for the org.gra...
Closeup asked 14/1, 2015 at 18:54

3

I tried to import new library module in my android project (using android studio), which work without any problem, but when I imported it I have this error (when trying to sync gradle): Gradle sy...

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

2

Solved

The latest version (3.0.0) of the Android Plugin for Gradle has broken its API for manipulating Variant Outputs. This API was used for manipulating files creating during builds (such as AndroidMani...

6

I am getting below error in my new Android studio version, when I want add floating EditText. I need to add this android.support.design library if I add this in gradle file This is errors which i'...
Dwan asked 9/1, 2019 at 17:6

2

I got error and can't complete the build. I search over Stackoverflow and Github. I have tried many ways already but I can't fix. Please help. (1) Could not find google-services.json while looking...
Quimby asked 13/5, 2018 at 15:58

2

I'm developing a custom gradle plugin and the dependencies for my plugin project look like this: dependencies { compile gradleApi() compile localGroovy() compile('com.xxx.oozie:oozie-dsl-parser...
Croce asked 24/11, 2015 at 23:50

3

Below error while gradle sync Failed in Mac. CONFIGURE FAILED in 3s ERROR: No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin.findObfuscationTransformTask() is applicable...

3

Solved

I'm working on developing a gradle plugin for Android Studio.Here is my problem How can I get Android Studio main SourceSet with Gradle API? I want to do some copy stuff with java source director...
Imperative asked 11/5, 2016 at 10:29

1

Solved

I'm trying to use the java-platform plugin to share dependency constraints in a multi-module project. What I would like to do is set up a module named platform which I can import using platform(pro...
Hydrophilic asked 12/2, 2019 at 10:18

0

I am using Gradle version 4.10.3 (need Android support) and am trying to put a test precompiled script into my buildSrc folder for use with various modules within the project. Here is my basic code...
Dissipated asked 12/2, 2019 at 12:14

0

The existing Test task only supports three TestFramework implementations: JUnitTestFramework, JUnitPlatformTestFramework and TestNGTestFramework. How do I add support for a custom test framework ...
Aholla asked 11/2, 2019 at 8:21

11

Today I got update for android studio 2.0 in stable version. I update it and it restarted. Then when It opens my existing project, it ask me to update my gradle plugin to 2.0 to get advantages of...
Mich asked 8/4, 2016 at 9:21

0

I am using Gradle to build my project and compile some protocol buffers using the Gradle Protobuf Plugin. I'd like to build the protos in several directories and exclude a single file. sourceSets ...
Aboard asked 5/2, 2019 at 22:3

1

It has been cleared here that from Sonarqube version 6.2 that coverage reports are merged and there won't be separate unit and integration coverage report anymore. We still interested to have thes...

1

Solved

I just updated Android Studio 3.2 to 3.3. It updated the Gradle plugin in my project from 3.2.1 to 3.3. Now enabling advanced profiling in Run/Debug configuration making my app crash. Clean/Rebuild...

1

Solved

After the recent android update, each time I build my app, I receive the following warnings: WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsP...
Illinois asked 29/1, 2019 at 11:29

2

Solved

I'm using Android Studio with gradle plugin to develop applications. I learn some usage of android gradle plugin on DSL Reference. But one thing I found is that the applicationVariants part on doc ...
Roselynroseman asked 17/4, 2016 at 3:49

2

Hello I am using okio and okhttp library for socket connect. After updating android studio and build tool 3.1.2, I am facing this issue. And suggestion is android.enableD8=false. but, it's depreca...
Finesse asked 14/5, 2018 at 6:35

1

after changing gradle android plugin version to 3.2.1 classpath 'com.android.tools.build:gradle:3.2.1' I received such build error: Task with name 'mockableAndroidJar' not found in project ':ap...
Itis asked 29/10, 2018 at 15:6

4

I work at a big company with a strict policy forbidding the unfiltered use of outside libraries. We have to pull everything from blessed corporate repositories, and not the bare internet, including...
Plectognath asked 17/5, 2016 at 20:11

© 2022 - 2024 — McMap. All rights reserved.