All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xml.guard.utils.TaskExt.kt Maven / Gradle / Ivy

package com.xml.guard.utils

import org.gradle.api.Project

/**
 * User: ljx
 * Date: 2022/7/6
 * Time: 22:49
 */
//返回主module依赖的所有Android子module,包含间接依赖的
fun allDependencyAndroidProjects(project: Project): List {
    val dependencyProjects = mutableListOf()
    project.findDependencyAndroidProject(dependencyProjects)
    val androidProjects = mutableListOf()
    androidProjects.add(project)
    androidProjects.addAll(dependencyProjects)
    return androidProjects
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy