does any one can help me solving out this problem ...
# gradle
a
does any one can help me solving out this problem my gradle version 5.2.1 my ide version intellij Idea 2020.1 and my kotlin version 3.7.1
Copy code
plugins {
    id 'java'
    id 'org.jetbrains.kotlin.jvm' version '1.3.71'
    id "org.jetbrains.kotlin.kapt" version "1.3.71"
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
    testCompile group: 'junit', name: 'junit', version: '4.12'
    implementation "com.squareup.retrofit2:converter-gson:2.3.0"
    implementation "io.reactivex.rxjava2:rxandroid:2.0.1"

    compile 'org.jsoup:jsoup:1.13.1'
    testImplementation "com.squareup.okhttp3:mockwebserver:4.5.0"
    implementation "com.squareup.okhttp3:okhttp:4.5.0"
    implementation 'com.squareup.retrofit2:retrofit:2.3.0'
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'


    implementation("com.squareup.moshi:moshi-kotlin:1.9.2")
    kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.2")
    implementation("com.squareup.moshi:moshi:1.9.2")
}


compileKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
r
This script runs without errors in my IDE. And I'm using the same versions
Maybe try to close it and import again?
a
I try to clean, rebuild, sync and build , even creating new project and using grade 6.3 the error is still happening
d
https://kotlinlang.org/docs/reference/kapt.html - i think you missed the following step: "Then add the respective dependencies using the
kapt
configuration in your
dependencies
block:"
i
can you check file->project structure->Project sdk.? it should be java-8