我经历了有关build.gradle的类似问题,并且浏览了Gradle Kotlin Primer,但没有看到如何将.jar文件添加到build.gradle.kt文件中。我正在尝试避免使用mavenLocal()
如果您正在寻找相当于
implementation fileTree(dir: 'libs', include: ['*.jar'])
那将是:
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
Este artigo é coletado da Internet.
Se houver alguma infração, entre em [email protected] Delete.
deixe-me dizer algumas palavras