ngbinh / gradle-scalastyle-plugin

Gradle plugin for scalastyle
18 stars 16 forks source link

Gradle pre-defaulting 2.8 library when running scalastyle-plugin #6

Closed scubapup closed 9 years ago

scubapup commented 9 years ago

Given the sample build.gradle buildscript entries, the script is failing when running scalaStyle because it is at some point unable to load Scala.predef..colon less colon..

Classloader logs show that gradle is loading scala library 2.8 which is in the gradle init.d directory

Have you seen this issue before and do you have suggestions on how to make this work for the 2.11 build of this plugin?

ngbinh commented 9 years ago

It looks to me like your build.grade tried to load Scala 2.8. It is super old and isn't supported by this plugin. My only suggestion is to upgrade the build Scala version to at least 2.10

scubapup commented 9 years ago

Thanks for responding. We dug a bit and looks like a custom initializer in our gradle install is adding the bad dependency.