Did anyone run into something like this? <https://...
# javascript
k
Did anyone run into something like this? https://youtrack.jetbrains.com/issue/KT-20174
g
I’m currently using kotlinx-html-js with gradle without problem but with 1.1.4 version of kotlin and 0.6.3 of kotlinx.html. Can you try with these versions?
k
Tried it with those versions, still doesn't work unfortunately.
Thanks though!
g
Can you keep the smallest code and zip it to me so I can have a look?
k
There's very little actual code, so this is just the whole project zipped, excluding some licenced graphics: https://www.dropbox.com/s/lfwamnnn9uq98nm/Factorio-Calculator.zip?dl=0
One of the files that breaks is
src/Tabs.kt
.
The project is build with the
web
task.
And thanks a lot for helping me!
g
I just changed the gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-all.zip
. And it works.
I had some problems with gradle 4. I switched back to 3.5.x
Is it ok for you to go back on this version, @karelpeeters ?
k
Huh that's strange, I'll do that until there's a proper fix thank you very much!
Unfortunately I can't get that to work in my project.
I ran
gradlew clean
and reimported the project, still nothing.
g
Here is my version of your project. It’s working.
k
Yup that works.
Really strange, I had Idea compare all of the files and the only differences are the gradle version and a bunch of Idea-related settings files. I don't really understand the proble.
Thanks a lot for fixing it!
Intrestingly, when upgrading back to gradle 4.0 the project still works 😶
g
👍