Get Android gradle plugin & checkstyle working together / command line usage

后端 未结 6 1707
礼貌的吻别
礼貌的吻别 2020-12-23 10:31

I\'m evaluating the ability of the new gradle-based build system to reproduce our current ant-based build process and, as a gradle beginner, I failed to get checkstyle runni

6条回答
  •  攒了一身酷
    2020-12-23 11:00

    I found by digging on the web that the Android plugin depends on java-base and not java (i.e. the sourceSets management is specific) and the checkstyle plugin rely on java. As a consequence, some gradle upstream modification are needed to get the thing done. The gradle team is working on that, as seen on twitter:

    @anzix Android source sets will be soon understood by the generic code quality plugins. Work on that has already started.

    — Gradle Build System (@Gradleware) May 26, 2013

提交回复
热议问题