build.gradle 文件这样写
api fileTree(include: ['*.aar'], dir: 'libs')
api fileTree(include: ['*.aar'], dir: 'libs/gromore') //gromore为lib子目录
api fileTree(include: ['*.aar'], dir: 'libs/gromore/baidu')
api fileTree(include: ['*.aar'], dir: 'libs/gromore/ks')
api fileTree(include: ['*.aar'], dir: 'libs/gromore/pangle')
build.gradle.kts 文件这样写
// api(fileTree(mapOf("include" to listOf("*.aar"), "dir" to "libs")))//测试工具
// api(fileTree(mapOf("include" to listOf("*.aar"), "dir" to "libs/gromore")))
// implementation(fileTree(mapOf("include" to listOf("*.jar", "*.aar"), "dir" to "libs/gromore/baidu")))
// implementation(fileTree(mapOf("include" to listOf("*.jar", "*.aar"), "dir" to "libs/gromore/ks")))
// api(fileTree(mapOf("include" to listOf("*.jar", "*.aar"), "dir" to "libs/gromore/pangle")))