Repository navigation
Depend on our own custom checker framework fork for now. - #29
Conversation
| compileOnly deps.apt.autoService | ||
|
|
||
| compile deps.build.errorProneCheckApi | ||
| shadow deps.build.errorProneCheckApi |
There was a problem hiding this comment.
For some reason, saying shadow here means "exclude this and its dependencies from the shadowJar"... yes, really...
| } | ||
|
|
||
| shadowJar { | ||
| classifier = "cf" |
There was a problem hiding this comment.
Our NullAway+CF jar will be called nullaway-version-cf.jar
For now, I am excluding most dependencies, only bundling CF-dataflow and CF-javacutil. But let me know if we want to make a true fat jar, with EP and javax and everything.
There was a problem hiding this comment.
No, this is right, we just want to bundle the CF classes
There was a problem hiding this comment.
is the classifier here a maven classifier?
There was a problem hiding this comment.
I am not sure, it gets added at the end of that jar filename, I am not sure were else it is used. I'd be fine with setting it to null and having both shadow be our default build and this being our default jar.
| return CFGBuilder.build( | ||
| bodyPath, env, ast, false, false); | ||
| } | ||
| return CFGBuilder.build(bodyPath, env, ast, false, false); |
|
|
||
| repositories { | ||
| maven { | ||
| url "https://raw.githubusercontent.com/msridhar/checker-framework/repository/" |
There was a problem hiding this comment.
Tested on VPN, no problems so far.
|
It seems |
|
Re: the build failure, not sure what is going on. We need to say somehow that the |
You can say |
This commit: - Adds https://github.com/msridhar/checker-framework (repository branch) as a maven repository for our build.gradle - Forces the 2.1.14-nullaway checker framework dataflow jar (but uses upstream javacutil.jar for same version). Forcing needed, as 2.1.14-* < 2.1.14 for dependency resolution. - Adds the shadow maven plug-in allowing us to create a semi-fat jar using `gradle shadowJar` which contains NullAway and the checker framework fork, but not, say, EP or javax. - Removes our hack around a CF fix we backported into our fork: typetools/checker-framework#1516
7d98cae to
9f8dc6d
Compare
|
This alone does not solve the problem: When we depend on another project, how do the clases of that project get loaded? Is it just that the project gets built and then the However, I tried setting |
d653163 to
c3d87c7
Compare
This commit:
(repository branch) as a maven repository for our build.gradle
(but uses upstream javacutil.jar for same version). Forcing
needed, as 2.1.14-* < 2.1.14 for dependency resolution.
jar using
gradle shadowJarwhich contains NullAway and thechecker framework fork, but not, say, EP or javax.
Add support on the dataflow CFG for visiting lambda result expressions typetools/checker-framework#1516