hello, i have been trying to get kotlin 1.3 rc146 ...
# gradle
h
hello, i have been trying to get kotlin 1.3 rc146 to work for a while now, and the project works normally for my friend who has it, but not for me. relevant information can be found here: (attached with log, and picture of script) https://kotlinlang.slack.com/archives/C0922A726/p1538732727000100
t
have you tried to run it from command line?
h
when i tried, it tried downloading the
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.0-rc-116
for about a minute and a half, and when it was almost done (like maybe 1 mb left) it just stopped and said timed out
and it downloads relatively quickly, maybe 1mbps, so that surely can’t be the issue of slow net
it never gets past 27.87 out of 27.98 mb
t
do you have enough space on your machine?)
h
i have 40 gigs available
t
try to run with
--debug
from command line and check what it outputs closer to the end
h
ok, i will report back to you
https://hastebin.com/sopimuhiso.coffeescript here, at around line 410, it keeps printing the same few lines of code, this is what the debug was printing when i reached 27.87 mb downloaded
t
just tried to download using link in the logs - works, so I advice you - try to change network and run it again
h
Do you mean different Wi-Fi networks?
t
yes, or using shared mobile network
h
alright, i am going to run with my mobile hotspot data, will only do once, as my data is precious. will run with --debug and report back
t
please also add
--stacktrace
h
👍
alright, my network may be relatively slow, but it only made it to about 13 mb before it died
unfortunately the start of the log was cut off
t
end is more interesting
so is my internet not fast enough? 😢
t
looks like bintray closing the connection before returning all content 🤷‍♂️
Caused by: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 29343385; received: 14241839
h
hmm
could i manually download this file and give it to gradle
t
you can put it in you local maven
and add
mavenLocal()
in repos
h
alright, let me see
🤔 downloading the embeddable took me 3 seconds
and paused at …
27.8 mb
t
something wrong with either your internet or computer or bintray 🤷‍♂️
I doubt that gradle or setup in your scripts are failing
h
alright, i got it downloaded
should i just put it in my ~/.m2?
t
put it in
~/.m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.0-rc-116/kotlin-compiler-embeddable-1.3.0-rc-116.jar
h
alright, will do
with that now in my m2 repo (the path above) and mavenlocal in my script, I CAN NOW USE KOTLIN 1.3!!! 🙂
t
🎉
h
thank you so much!
t
you are welcome