File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
apilint/src/main/groovy/org/mozilla/apilint Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,14 @@ class ApiLintPlugin implements Plugin<Project> {
2525 def name = variant. name. capitalize()
2626 def apiFileName = " ${ variant.javaCompileProvider.get().destinationDirectory.get()} /${ extension.apiOutputFileName} "
2727 def apiFile = project. file(apiFileName)
28+ def variantClasspath = variant. javaCompileProvider. get(). classpath
2829
2930 def currentApiFile = project. file(extension. currentApiRelativeFilePath)
3031
3132 def apiGenerate = project. task(" apiGenerate${ name} " , type : ApiCompatLintTask ) {
3233 description = " Generates API file for build variant ${ name} "
3334 doFirst {
34- classpath = variant . javaCompileProvider . get() . classpath
35+ classpath = variantClasspath
3536 }
3637
3738 source = variant. sourceSets. collect({ it. java. srcDirs })
You can’t perform that action at this time.
0 commit comments