-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle build fail problem #64
Comments
@davyzhu I managed to get it working by just simply replacing the I think the older build script is incompatible with newer version of Gradle. |
Where'd you get the sources from? |
I encountered the same problem after installing IntelliJ IDEA Community Edition and Atomic Kotlin course via Edu Tools plugin from scratch on Win10 x64 box. Something from this list helped me:
I think the last change made the final trick because after loading Gradle changes the whole bunch of stuff came in and though one build.gradle line still caused two errors
it didn't prevent successfull build. |
I encountered this issue with a different Gradle project -- some versions
of Gradle break with newer versions of Java.
*Bruce Eckel*
SummerTechForum.com
MindViewLLC.com
Blog: BruceEckel.com
EvolveWork.co
WinterTechForum.com <http://www.WinterTechForum.com>
OnJava8.com <http://www.OnJava8.com>
www.AtomicKotlin.com
Reinventing-Business.com <http://www.Reinventing-Business.com>
…On Sun, Sep 19, 2021 at 5:46 AM Mikhail Agaltsoff ***@***.***> wrote:
I encountered the same problem after installing IntelliJ IDEA Community
Edition and Atomic Kotlin course via Edu Tools plugin from scratch on Win10
x64 box.
Something from this list helped me:
1. Changing JDK 17 for JDK 16 since IDE annotations were from v16 and
I didn't manage to find v17 annotations quickly.
2. Setting Gradle JVM to version 16 since it was invalid just as topic
starter said.
3. Setting ext.kotlin_version in build.gradle from '1.5.20' to
'1.5.10' since this version came with Kotlin plugin and this line produced
a warning Kotlin version that is used for building with Gradle
(1.5.20) differs from the one bundled into the IDE plugin (1.5.10)
I think the last change made the final trick because after loading Gradle
changes the whole bunch of stuff came and though one build.gradle line
still contained two errors
Cannot resolve symbol 'TestDescriptor'
Cannot resolve symbol 'TestResult'
this didn't prevent successfull build.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHUTLHRF2NKXUH7AN4LQNDUCXERHANCNFSM5CAGY4QA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
All errors vanished after updating Kotlin to the latest version 1.5.31 and setting
|
AtomicKotlin exercises in the EduTools plugin are still broken, however opening this repo the [Check] button works just fine. However, all of the problem sets have their answers in them. How do you compile/build this course and open it properly in EduTools as a course instead of a project? |
Hi, I tried to do AtomicKotlin exercises by EduTools plugin. But after open the project, Gradle build failed. In Gradle settings, Gradle JVM is set to #JAVA_INTERNAL[Invalid]
Any suggestion, thanks!
Build file 'C:\Users\zhu_s\IdeaProjects\AtomicKotlin\build.gradle' line: 28
A problem occurred evaluating root project 'AtomicKotlinCourse'.
The text was updated successfully, but these errors were encountered: