gutiory gutiory - 4 months ago 18
Scala Question

Slick android ProguardCache error

I'm learning Scala and i want to test slick for Sqlite DB in Android.
I tried this template:

https://www.lightbend.com/activator/template/slick-android-example

but when tried to import the Project in Intellij, I got the follow error:


\slick-android-example\build.sbt:28: error: not found: value ProguardCache
ProguardCache("slick") % "com.typesafe.slick"


Am I missing something?

Thanks in advance.

pfn pfn
Answer

Activator templates are extremely out of date. The proper syntax using the current version of sbt-android would be

proguardCache += "slick"
Comments