Victor Cardona
03/08/2021, 2:15 PMCould not determine the dependencies of task ':compileKotlin'.
> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
> Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.4.10 because no repositories are defined.
Required by:
project :
Here is how I’m trying to load the plugin locally:
buildscript {
repositories {
flatDir { dirs("plugins") }
}
dependencies {
classpath(":kotlin-gradle-plugin:1.4.10")
classpath(":kotlin-gradle-plugin-api:1.4.10")
classpath(":kotlin-gradle-plugin-model:1.4.10")
classpath(":kotlin-compiler-embeddable:1.4.10")
classpath(":kotlin-compiler-runner:1.4.10")
classpath(":kotlin-daemon-embeddable:1.4.10")
classpath(":kotlin-daemon-client:1.4.10")
...
}
}
apply(plugin = "org.jetbrains.kotlin.jvm")
Can anyone suggest how I can do what I’m attempting? Thanks in advance.Rob Elliot
03/08/2021, 2:49 PMtapchicoma
03/08/2021, 4:54 PMbuildSrc
module and add there all plugins via common implementation
notation