If you are using build.gradle.kts , the syntax requires explicit configuration access:
: Specifies the source configuration. Use runtimeClasspath for modern Gradle versions (7.x+) to include both direct and transitive dependencies. gradle download dependencies to folder
: Sets the destination folder. You can use an absolute path or a project-relative path like "$buildDir/libs" . 2. Implementation for Kotlin DSL If you are using build