Git Product home page Git Product logo

Comments (8)

Jacksgong avatar Jacksgong commented on July 18, 2024 1

不好意思哈,没有研究过这块。

from okcheck.

pick618 avatar pick618 commented on July 18, 2024

代码只是查找变化的文件对应的modulename,没有处理单独的文件呀

from okcheck.

Jacksgong avatar Jacksgong commented on July 18, 2024

是的,因为其中的lint以及unit-test之类的,本身就需要依赖编译结果与依赖;而checkstylepmd等代码扫描本身就很快,再大的工程基本都是10s级别,这块做差分意义不是很大;因此这边暂时只做到module级别。

from okcheck.

Jacksgong avatar Jacksgong commented on July 18, 2024

如果你有什么更好的建议,欢迎PR或者issue。

from okcheck.

pick618 avatar pick618 commented on July 18, 2024

嗯,我用gradle3.1.3的,3.1.0前后的jar包内容就不一样了,去除了LintGradleClient 等文件,采用ReflectiveLintRunner 反射LintGradleExecution 生成,LintGradleExecution 反射生成lintrequest LintGradleClient 实例,但是找不到这个的源码在哪里,想通过反射修改project request subset(files) 都没办法

from okcheck.

Jacksgong avatar Jacksgong commented on July 18, 2024

@pick618 不明觉厉,不过说实话如果想用反射等方式做比较强的定制,兼容这块会是一个深坑。。

from okcheck.

pick618 avatar pick618 commented on July 18, 2024

是啊,gradle 和studio 一直在升级,请教下你这边有尝试过用gradle3.1.3 做增量文件升级吗,非常感谢

from okcheck.

pick618 avatar pick618 commented on July 18, 2024

boolean isOnThisModule(String fileRelativePath) {//判断文件是否在module中
return fileRelativePath.startsWith(this.relativePath)
}

这个地方是否有bug,如果有android library执行:app:okcheckDebug ,库module 的相对路劲会以../ 开头..

from okcheck.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.