android-kotlin-login icon indicating copy to clipboard operation
android-kotlin-login copied to clipboard

Project needs to target JVM 1.8

Open khufdev opened this issue 5 years ago • 2 comments

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"
    }
}

khufdev avatar Nov 08 '19 00:11 khufdev

@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.

holecekp avatar Jun 26 '21 20:06 holecekp

    jvmTarget = "1.8"
}

} @philipwalton @domesticmouse

5t44508 avatar Oct 29 '21 06:10 5t44508