gutiory gutiory - 1 year ago 174
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:

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 Source

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

proguardCache += "slick"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download