Answer the question
In order to leave comments, you need to log in
How to enable the correct version of Gradel in IntelliJ IDEA?
I cloned the repository from github, when building it writes an error:
Build file 'D:\Java\skills\SkillCalculator\build.gradle' line: 2
An exception occurred applying plugin request [id: 'org.springframework.boot', version: '2.4.3']
> Failed to apply plugin [id 'org.springframework.boot']
> Spring Boot plugin requires Gradle 5 (5.6.x only) or Gradle 6 (6.3 or later). The current version is Gradle 6.1
plugins {
id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
group = 'ru.betry'
version = '0.1'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.datastax.cassandra', name: 'cassandra-driver-core', version: '3.9.0'
compile group: 'org.springframework.data', name: 'spring-data-cassandra', version: '3.0.1.RELEASE'
compile group: 'org.springframework', name: 'spring-core', version: '5.2.7.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: '2.3.1.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
}
test {
useJUnitPlatform()
}
Answer the question
In order to leave comments, you need to log in
If your project uses wraper - there should be the correct version (suitable for this project).
Try to use the standalone version
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question