These are chat archives for scala-android/sbt-android

23rd
Feb 2017
Gregg Hernandez
@gregghz
Feb 23 2017 01:03

I'm getting this fun error today:

[error] (kotlinLib/compile:compileIncremental) scala.reflect.internal.MissingRequirementError: object scala.runtime in compiler mirror not found.

I've been cleaning and reloading and deleting target dirs and can't get it to go away. The confusing part for me is that kotlinLib is 100% kotlin, there's no scala in code or dependencies

Gregg Hernandez
@gregghz
Feb 23 2017 01:57
I think I know what it is. Ignore this in the meantime, I'll report back when I've had a chance to figure it
Perry
@pfn
Feb 23 2017 02:06
@gregghz, add scala-reflect to the dependencies
Perry
@pfn
Feb 23 2017 02:13
at least in compile-internal
Gregg Hernandez
@gregghz
Feb 23 2017 03:00
yeah, that's what I suspected. I added paradise for some macro support so I also had to add "org.scala-lang" % "scala-reflect" % "2.11.7" % "provided" to the kotlinLib deps.
Gregg Hernandez
@gregghz
Feb 23 2017 03:33
heh. Looks like my real mistake was that I dropped a scala file into the kotlinLib project.
Perry
@pfn
Feb 23 2017 05:39
That would do ir
Rafal Wachol
@charafau
Feb 23 2017 20:12
@Taig do you have proguard rules for Communicator ?
Rafal Wachol
@charafau
Feb 23 2017 20:21
hmm.. somehow proguard config doesnt work for me
maybe I forgot how to set it up
Niklas Klein
@Taig
Feb 23 2017 22:41
@charafau I don't, but I should. I'll try to add them tomorrow. It's only -dontwarns though. No keeping necessary.