Comments (8)
不好意思哈,没有研究过这块。
from okcheck.
代码只是查找变化的文件对应的modulename,没有处理单独的文件呀
from okcheck.
是的,因为其中的lint
以及unit-test
之类的,本身就需要依赖编译结果与依赖;而checkstyle
、pmd
等代码扫描本身就很快,再大的工程基本都是10s级别,这块做差分意义不是很大;因此这边暂时只做到module
级别。
from okcheck.
如果你有什么更好的建议,欢迎PR或者issue。
from okcheck.
嗯,我用gradle3.1.3的,3.1.0前后的jar包内容就不一样了,去除了LintGradleClient 等文件,采用ReflectiveLintRunner 反射LintGradleExecution 生成,LintGradleExecution 反射生成lintrequest LintGradleClient 实例,但是找不到这个的源码在哪里,想通过反射修改project request subset(files) 都没办法
from okcheck.
@pick618 不明觉厉,不过说实话如果想用反射等方式做比较强的定制,兼容这块会是一个深坑。。
from okcheck.
是啊,gradle 和studio 一直在升级,请教下你这边有尝试过用gradle3.1.3 做增量文件升级吗,非常感谢
from okcheck.
boolean isOnThisModule(String fileRelativePath) {//判断文件是否在module中
return fileRelativePath.startsWith(this.relativePath)
}
这个地方是否有bug,如果有android library执行:app:okcheckDebug ,库module 的相对路劲会以../ 开头..
from okcheck.
Related Issues (10)
- 可以忽略某一个moudle吗? HOT 1
- 可不可以自定义 lint 规范呢? HOT 1
- Android studio的lint检测是怎么做到细化到文件的呢? HOT 3
- 老项目第一次全量检查失败,是不是就无法进行增量检查了? HOT 1
- groovy-all 下载超时
- Integrate coverage for unitTest and androidTest and just disabled as default
- 求助:配置不对吗? HOT 2
- .okcheck folder dir is not create
- 感觉第二次检查时间比第一次检查时间没减少多少,我只改了一个文件,进行简单的测试 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okcheck.