implementation (fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))) implementation("androidx.core:core-ktx:1.2.0") implementation("androidx.appcompat:appcompat:1.4.1") implementation("com.google.android.material:material:1.5.0") implementation("androidx.constraintlayout:constraintlay...
Much lazier way to do this in build.gradle.kts files is to use a fileTree combined with flatDir repository. repositories { flatDir { dir("$rootDir/libraries") } } dependencies { fileTree("$rootDir/libraries").forEach { file -> implementation(group = "", name = file.name.removeSuffix("....