I’ve been getting this error forever. What does th...
# gradle
h
I’ve been getting this error forever. What does this mean?
g
Check that your code and all other dependencies do not use SuccessOrFailure class, but use Result instead
h
the screenshot contains all the code I am running
g
Hmm… You use Idea build system not sure how to configure it for Kotllin 1.3
h
let me check my kotlin plugin (on idea) version
my plugin version is 1.2.71
g
Maybe make sense to update plugin, your project uses Kotlin 1.3
h
I tried manually downloading it via the zip, and i got this: 😞
g
Probably you download wrong plugin version, you need one for your version of IDEA
also you can change version of plugin in settings: Tools -> Kotlin -> Configure plugin updates
h
okay, let try that.
nope, didn’t solve the issue. i have my cursor where the error happened
message has been deleted
g
Did you restart IDE?
h
yes
1.3-M2-release version
m
doesn't look, to me at least, that it comes from gradle? looks like it was caused by some different kotlin versions being used (i think
SuccessOrFailure
was changed in one of the 1.3-* versions)
g
This is not Gradle
This output from IDEA build system
h
alright, i will post this into #intellij
i
1.3-M2-release version
You should use RC plugin version with the library of 1.3.0-rc-* version. The corresponding plugin version is
1.3.0-rc-146-IJ2018.2-1