gradle-plugin Questions

1

Solved

It looks like there are two ways of declaring some Kotlin plugins using plugins DSL: Using the id() method and the kotlin() method. For example, the android plugin can be added using either id(&quo...
Schuyler asked 17/2, 2022 at 5:30

4

Hey after updating Android Studio to 3.1 Stable version i am getting following error to all my projects. Any help will be appreciated. Could not download kotlin-reflect.jar (org.jetbrains.kotlin...

0

I want to pass properties from precompiled script plugin to the project itself. I have precompiled script plugin inside of buildSrc directory. 1 In buildSrc/gradle.properties I have defined default...
Wauters asked 26/1, 2022 at 21:58

2

Solved

I can query the dependency tree for a Gradle project with ./gradlew -q dependencies. I can also run the query for the service subproject with ./gradlew service:dependencies. How can I list the depe...
Hypocaust asked 22/1, 2021 at 20:24

12

Solved

After updating to Android Studio 3.0 and creating a new project, I noticed that in build.gradle there is a new way to add new dependencies instead of compile there is implementation and instead of ...

1

In Android Studio Gradle tab I'm able to find run task from application plugin. I want to view source code of this task. Right click -> Jump to Source is disabled for this task. How to view so...

1

Problem description: I'm using Gradle Shade plugin, it all works fine and it copies resource files to the final jar. However, as the docs say, it can not include other .jar files as resources becau...
Krucik asked 27/9, 2018 at 1:23

5

Solved

I am using Gradle 3.3 and trying to test a custom plugin with JUnit and Gradle TestKit. In plugin's build.gradle I have version '0.1' apply plugin: 'groovy' apply plugin: 'java-gradle-plugin' sou...
Opia asked 21/6, 2017 at 14:31

2

Does anyone know if a good test coverage tool (preferably Gradle plugin) exists for Kotlin? I've looked into JaCoCo a bit, but it doesn't seem to reliably support Kotlin.
Modesta asked 12/1, 2018 at 6:4

2

When I put apply plugin: 'android-reporting' in my project level build.gradle file as suggested here, gradle sync fails throwing Caused by: java.lang.IllegalArgumentException: Cannot add extens...

3

Solved

I'm trying to configure Jacoco to exclude some classes from analysis but can't find any working example :( I found some samples with afterEvaluate but no success
Eurhythmics asked 9/5, 2019 at 9:21

7

Solved

I am using Android Studio 4.0.2 and I am getting error: No value has been specified for property 'enableGradleWorkers'.

2

With Android Studio 3.0 / android_gradle_version = '3.0.1' / gradle-4.5 Let's say I have two android modules module-base module-a When I want to access sources from module-base in module-a , I jus...

3

Solved

I have developed an internal plugin. The plugin has its own version. I then use that plugin for a build process in a repository. If I change the version of the plugin, I have to update the build.g...
Jot asked 15/2, 2017 at 20:26

0

I have tried severally to configure this sonarqube property sonar.junit.reportPaths within Gradle but still get the same error message. Gradle version -> 6.7.1 SonarQube Server version -> 8.9...
Incompetent asked 26/6, 2021 at 13:52

1

Solved

I'm new to flutter development. I used audioplayers: ^0.19.0 package in one project but when the project runs on an emulator it pops up with big error messages. Can you guys please help me to solve...
Purehearted asked 9/6, 2021 at 18:20

1

Solved

For regular gradle actions, I have a gradle.properties file in my project or home which configures the proxy details (host/port etc.) When using GradleRunner, the gradle.properties file is ignored ...
Yezd asked 11/6, 2021 at 14:57

0

I'm currently in the process of updating a gradle project with OpenApiGenerator plugin. I updated both the gradle version (v7.0) and the OpenApiGenerator plugin version (5.1.0). When I'm trying to ...
Chanteuse asked 20/4, 2021 at 17:12

3

Solved

I have a script plugin that I would like to: Check if the ivy-publish applied (via apply plugin: ivy-publish): If it is applied, declare publishing { repositories { ivy { } } } If it's not applie...
Principium asked 13/9, 2017 at 18:36

2

I am puzzled by this block of code to be used in a gradle file, suggested by Spring Boot Documentation on Developer Tools configurations { developmentOnly runtimeClasspath { extendsFrom develop...

2

Solved

I've recently added the checkstyle plugin to the project for static code analysis. But after updating the google-style.xml from the latest master, I've started receiving the below exception : org.g...
Dorsiventral asked 11/8, 2020 at 8:35

4

Solved

Yesterday, I updated Android Studio to 3.1 and I'm getting this error : Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: https://repo.maven.apache.org...
Microtone asked 30/3, 2018 at 10:59

1

I am running gradle bootRun gradle bootRun --args='--spring.profiles.active=local' --stacktrace I am getting a CreateProcess error=206, The filename or extension is too long exception Starting ...
Anglo asked 6/4, 2020 at 10:25

2

I wrote a gradle plugin that I only want to use in my own project. Here's a simplified file structure: /root project | + build.gradle + settings.gradle + build/ + some module/ | + build.gra...
Pipsqueak asked 23/5, 2018 at 18:0

0

I use Gradle Kotlin DSL and in my project I have separate build-dependencies gradle module which is included in settings.gradle.kts like so: pluginManagement { repositories { google() jcenter() ...
Fleece asked 14/12, 2020 at 18:6

© 2022 - 2024 — McMap. All rights reserved.