Here. First, I just want to say that I love kotlin...
# announcements
p
Here. First, I just want to say that I love kotlin. It has made my and my team's life easy on so many occasions. I use kotlin in production, on server side. I have never had any issues with Kotlin! I love it! So, I have a library written in kotlin, that is wrapping around apache httpclient. It uses coroutines and provides convenience and auth functions around our stack. I use kotlin
1.2.41
in the library. Strangely, when I upgrade the library to
1.2.50
and above, the dependent projects (spring boot) cannot see my library. gradle command line builds fine. Only IntelliJ does not recognize the library functions. Am I missing something?? The only change being upgrading the kotlin versions from
1.2.41
to
1.2.60
AND upgrade coroutines from
0.22.5
to
0.24.0
a
Did you try rebuilding your library? Also try invalidating cache and restart? Does it work via cmd line?
p
yes, I have tried rebuilding the library, and invalidating caches. I even uninstalled (and cleaned up) IntelliJ and re-installed. It works fine via command line. with gradle and gradle wrapper. It builds fine with drone as well. It's just IntelliJ doesn't recognize the library
a
Whats the kotlin version in the dependent?
p
1.2.60
. I try to keep it same as the source library. Interesting thing to note is that - The problem comes only when the source library is upgraded to version greater than
1.2.41
If the dependent library is at
1.2.60
and source is at
1.2.41
there are no issues