File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -536,13 +536,16 @@ afterEvaluate { project ->
536536 def dependentProjects = projectDependencies* . dependencyProject
537537 dependentProjects. findAll {
538538 // if there's a project dependency search for its result jar file in the build/intermediates/runtime_library_classes folder
539+ // this is the output folder in gradle 5.1.1, but it can be changed in the future versions of gradle
539540 def jarDir = new File (" ${ it.getBuildDir()} /intermediates/runtime_library_classes/${ buildType.toLowerCase()} " )
540541 if (jarDir. exists()) {
541542 jarDir. eachFileRecurse(FileType . FILES ) { file ->
542543 if (file. path. endsWith(" .jar" )) {
543544 processJar(file, jars)
544545 }
545546 }
547+ } else {
548+ println " WARNING: Folder ${ jarDir.path} does not exists, the dependent project's classess won't be included in the metadata"
546549 }
547550 }
548551 }
You can’t perform that action at this time.
0 commit comments