Is it possible to use gradle to develop scala projects?

It’s quite easy to use Gradle with Scala. We did it for a long time (a mixed team of Java, Groovy and Scala developers) and have been quite happy with it. Most things work quite well out of the box. More about Gradle with Scala: http://www.gradle.org/docs/current/userguide/scala_plugin.html There are some problems/downfalls though: Mixed code compilation when … Read more

SBT: is it wise to fix eviction warnings of library dependencies

If these warnings are for dependencies you use directly in your code, you should definitely add the upgraded version to your libraryDependencies. For evicted transitive dependencies (those dependencies only used directly by your own dependencies), it’s likely best to simply leave the warnings in place. This provides documentation to you about possible incompatibilities in your … Read more

How to execute a bash script as sbt task?

You can find some answers in External Processes in the official documentation of sbt, e.g. To run an external command, follow it with an exclamation mark !: “find project -name *.jar” ! Don’t forget to use import scala.sys.process._ so ! can be resolved as a method of String. Do the following in activator console (aka … Read more

Why Scala’s-SBT is too slow

SBT is slow because compiles internal code that is done in Scala and Scala compilation is slow because is a complex language (but once Scala is compiled is a lot faster at runtime) You can give SBT a boost when using SBT 1.x version with the SBT server. The SBT server allows you to use … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)