Good afternoon, I have such an error in my project
Could not find org.jetbrains.kotlin: kotlin-stdlib: 1.2.51
I apply the configuration file
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
group = "ru.ticketland.marketing.schedulers.tasks"
version = "v0.0.25"
val serviceVersion = "jdkAlpine-2017-10-18"
val kotlinVersion = "1.+"
val springVersion = "4.+"
val springBootVersion = "1.+"
val springDataVersion = "1.+"
val springDataCommonsVersion = "1.+"
val hibernateCoreVersion = "5.2.10.Final"
val hibernateValidatorVersion = "5.4.1.Final"
buildscript {
val kotlinVersion = "1.+"
val springBootVersion = "1.+"
repositories {
jcenter()
maven { url = uri("http://repo.spring.io/libs-snapshot") }
mavenLocal()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
}
}
plugins {
idea
java
application
}
apply {
plugin("kotlin")
plugin("org.springframework.boot")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
configure<ApplicationPluginConvention> {
mainClassName = "ru.ticketland.marketing.schedulers.regenerate.SpringBootKt"
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}
repositories {
jcenter()
maven { url = uri("http://repo.spring.io/libs-snapshot") }
mavenLocal()
}
thanks, I will be glad to help