我在下面收到此错误消息
无法解析外部依赖项 org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.61,因为未定义存储库。
这是我的 build.gradle 下面
plugins {
id 'idea'
id "org.jetbrains.kotlin.jvm" version "1.3.61"
id "org.jetbrains.kotlin.kapt" version "1.3.61" apply false
id "org.jetbrains.kotlin.plugin.spring" version "1.3.61" apply false
id "org.jetbrains.kotlin.plugin.jpa" version "1.3.61" apply false
id "org.springframework.boot" version "2.1.6.RELEASE" apply false
id "io.spring.dependency-management" version "1.0.7.RELEASE" apply false
id "com.palantir.docker" version "0.22.1" apply false
}
subprojects {
group = "bawoori"
version = "1.0"
sourceCompatibility = 1.8
apply plugin: "kotlin"
apply plugin: "io.spring.dependency-management"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
compileKotlin …Run Code Online (Sandbox Code Playgroud) 任何人都可以帮助我吗?我只从前同事那里得到了项目源代码和 dockefile,没有解释工作,但我现在遇到了时间限制的麻烦。请请。
我在下面收到此错误消息
Could 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.3.41
because no repositories are defined.
Run Code Online (Sandbox Code Playgroud)
这是我的 build.gradle 下面
plugins {
id 'idea'
id "org.jetbrains.kotlin.jvm" version "1.3.41"
id "org.jetbrains.kotlin.kapt" version "1.3.41" apply false
id "org.jetbrains.kotlin.plugin.spring" version "1.3.41" apply false
id "org.jetbrains.kotlin.plugin.jpa" version "1.3.41" apply false
id "org.springframework.boot" version "2.1.6.RELEASE" apply false
id "io.spring.dependency-management" version "1.0.7.RELEASE" apply false
id "com.palantir.docker" version "0.22.1" apply false
}
subprojects {
group …Run Code Online (Sandbox Code Playgroud)