Skip to content

getDependencies task is run on every build #146

Closed
@JJSarrasin

Description

The getDependencies task is run on every build and it takes (in my case approximatively 700ms to do it, about 26% of my compile time)
I have a warning in AS Build Analyzer advising to contact the developer :)
Would it be possible to execute this test on gradle sync ?

Here is the "bug report":
At 15:57, Jun 12, 2020, Android Studio detected an issue with Gradle plugin com.google.android.gms.oss-licenses-plugin

Always-run Tasks
Task runs on every build because it declares no outputs.

Plugin: com.google.android.gms.oss-licenses-plugin
Task: getDependencies
Task type: com.google.android.gms.oss.licenses.plugin.DependencyTask
Issue detected in 1 module(s), total execution time was 0.678 s (26.2%), by module:
Execution mode: FULL, time: 0.678 s (26.2%), determines build duration: true, on critical path: false

====Build information:====
Execution date: 12.06.20, 15:57
Total build duration: 10.009 s
Configuration time: 5.058 s (50.5%)
Critical path tasks time: 2.591 s (25.9%)
Critical path tasks size: 60
AGP versions: 4.0.0
====Platform information:====
AI-193.6911.18.40.6514223, JRE 1.8.0_242-release-1644-b3-6222593x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15.4, screens 2560x1440, 1680x1050; Retina

AS: 4.0; Kotlin plugin: 1.3.72-release-Studio4.0-1; Android Gradle Plugin: 4.0.0; Gradle: 6.1.1; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

        翻译: