Saving and loading buildscript dependencies

I am developing a program that needs to run offline, but has several dependencies. Thanks to Opal over at StackOverflow I can save the dependencies to a directory with the following:

buildscript {
  ext.kotlin_version = '1.1.1'
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  }
}

task copyLibs(type: Copy) {
    from buildscript.configurations.classpath
    into 'lib'
}

After running this task, I have a directory with several ‘.jar’ files.
How do I now point the offline buildscript at these several ‘.jar’ files instead of the single repository?
Is there a better method for transferring these dependencies to a disconnected machine?

Thank you for your time.