google-developer-training / advanced-android-kotlin-login

Other
67 stars 111 forks source link

Project needs to target JVM 1.8 #4

Open khufdev opened 4 years ago

khufdev commented 4 years ago

In order for the project associated with this codelab to build successfully, the project needs to target JVM version 1.8. In the app/build.gradle file, we need to add the following:

android {
    // ...
    kotlinOptions {
        jvmTarget = "1.8"
    }
}
holecekp commented 3 years ago

@khufdev Thank you. It fixed my issues. I cannot believe that it has been reported in 2019 and it is still not fixed!

Besides adding this configuration, all dependencies have to be updated. The versions in the build.gradle files in the starter project does not work any more and the project does not compile.

5t44508 commented 2 years ago
    jvmTarget = "1.8"
}

} @philipwalton @domesticmouse