Kotlin / kotlin-fullstack-sample

Kotlin Full-stack Application Example
https://kotlinlang.org
Apache License 2.0
1.21k stars 169 forks source link

Updated to Kotlin 1.3.50 #41

Open ayvazj opened 5 years ago

ayvazj commented 5 years ago

Updated to Kotlin 1.3.50 Updated to Ktor 1.2.5

21region commented 4 years ago
H:\Projects\kotlin-fullstack-sample>gradlew.bat build

> Task :backend:compileKotlin FAILED
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.3.50/bf65725d4ae2cf00010d84e945fcbc201f590e11/kotlin-stdlib-jdk8-1.3.50.jar (version 1.3)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.3.50/b499f22fd7c3e9c2e5b6c4005221fa47fc7f9a7a/kotlin-reflect-1.3.50.jar (version 1.3)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.50/50ad05ea1c2595fb31b800e76db464d08d599af3/kotlin-stdlib-jdk7-1.3.50.jar (version 1.3)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre8/1.1.0/89c9fbaa9c33c98e590959d50fca9e21bad96b9a/kotlin-stdlib-jre8-1.1.0.jar (version 1.1)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jre7/1.1.0/ef03cfed144ff47eed2cab1f7be4381bc18a6237/kotlin-stdlib-jre7-1.1.0.jar (version 1.1)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.50/b529d1738c7e98bbfa36a4134039528f2ce78ebf/kotlin-stdlib-1.3.50.jar (version 1.3)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.3.50/3d9cd3e1bc7b92e95f43d45be3bfbcf38e36ab87/kotlin-stdlib-common-1.3.50.jar (version 1.3)
    C:/Users/e.okhterov/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-runtime/1.1.0/18ef474326d3d4bb717e851f7504e1be87c4f674/kotlin-runtime-1.1.0.jar (version 1.1)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
w: C:\Users\e.okhterov\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jre7\1.1.0\ef03cfed144ff47eed2cab1f7be4381bc18a6237\kotlin-stdlib-jre7-1.1.0.jar: kotlin-stdlib-jre7 is deprecated. Please use kotlin-stdlib-jdk7 instead
w: C:\Users\e.okhterov\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jre8\1.1.0\89c9fbaa9c33c98e590959d50fca9e21bad96b9a\kotlin-stdlib-jre8-1.1.0.jar: kotlin-stdlib-jre8 is deprecated. Please use kotlin-stdlib-jdk8 instead
e: H:\Projects\kotlin-fullstack-sample\backend\src\org\jetbrains\demo\thinkter\Login.kt: (30, 31): 'receive(): T' is only available since Kotlin 1.3.40 and cannot be used in Kotlin 1.3. This function requires Kotlin 1.3.40+
e: H:\Projects\kotlin-fullstack-sample\backend\src\org\jetbrains\demo\thinkter\PostThought.kt: (36, 35): 'receive(): T' is only available since Kotlin 1.3.40 and cannot be used in Kotlin 1.3. This function requires Kotlin 1.3.40+
e: H:\Projects\kotlin-fullstack-sample\backend\src\org\jetbrains\demo\thinkter\Register.kt: (27, 35): 'receive(): T' is only available since Kotlin 1.3.40 and cannot be used in Kotlin 1.3. This function requires Kotlin 1.3.40+

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':backend:compileKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 23s
2 actionable tasks: 2 executed