Skip to content

Integrated approach with local aar does not work #5

@misrakli

Description

@misrakli

Hi,
first of all thank you for this documentation, it helped me a lot and saved my time.
I am trying to integrate my custom lint rules in my library project.
The way deploying the aar with the rules to a central repository works fine.
But i have problems integrating the rules as a local aar (in the libs folder). The aar is not included whe running the build of my library and i don't get any error messages when building the library.
I hava also to say that i have maybe a "unusual" setup:
There is a workspace with the app where i load multiple modules (as android libraries from different folders) into this workspace:

d:\projects\myapp\workspace
d:\projects\myapp\workspace\application (contains the app with the subfolders src, gradle, libs, etc.)
d:\projects\mylibrary (contains the library with the subfolders src, gradle, libs, etc.)

I placed the aar with the rules in d:\projects\mylibrary\libs and modified the build.gradle as described in your documentation
dependencies { compile fileTree(dir: 'libs', include: '*.jar') }

When i run the build (command line or android studio does not matter) nothing happens and the aar with the rules does not appear in the 'exloaded-aar' directory.

Used tools:
android gradle build tools Version 2.2.3
Gradle version 3.1
Android Studio 2.2.3

Maybe you have some advices?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions