<commit_before>import play.sbt.activator.Templates._

templateSettings

val playSbtVersion = propOrElse("sbt.version", "0.13.5")

val coffeescriptVersion = propOrElse("coffeescript.version", "1.0.0")

val lessVersion = propOrElse("less.version", "1.0.0")

val jshintVersion = propOrElse("jshint.version", "1.0.1")

val digestVersion = propOrElse("digest.version", "1.0.0")

val rjsVersion = propOrElse("rjs.version", "1.0.1")

val mochaVersion = propOrElse("mocha.version", "1.0.0")

templates := {
  val dir = baseDirectory.value
  sys.props.get("templates").map(_.split(",").toSeq).getOrElse(Seq(
    "play-scala",
    "play-java",
    "play-scala-intro",
    "play-java-intro"
  )).map(template => dir / template)
}

val playVersion = propOrElse("play.version", {
  println("[\033[31merror\033[0m] No play.version system property specified.\n[\033[31merror\033[0m] Just use the build script to launch SBT and life will be much easier.")
  System.exit(1)
  throw new RuntimeException("No play version")
})

// The Play templates should default to using the latest compatible version of Scala<commit_msg>Disable play-scala-intro template, it's causing problems<commit_after>import play.sbt.activator.Templates._

templateSettings

val playSbtVersion = propOrElse("sbt.version", "0.13.5")

val coffeescriptVersion = propOrElse("coffeescript.version", "1.0.0")

val lessVersion = propOrElse("less.version", "1.0.0")

val jshintVersion = propOrElse("jshint.version", "1.0.1")

val digestVersion = propOrElse("digest.version", "1.0.0")

val rjsVersion = propOrElse("rjs.version", "1.0.1")

val mochaVersion = propOrElse("mocha.version", "1.0.0")

templates := {
  val dir = baseDirectory.value
  sys.props.get("templates").map(_.split(",").toSeq).getOrElse(Seq(
    "play-scala",
    "play-java",
// Disabled since it seems to be causing unexplainable errors :(
//    "play-scala-intro",
    "play-java-intro"
  )).map(template => dir / template)
}

val playVersion = propOrElse("play.version", {
  println("[\033[31merror\033[0m] No play.version system property specified.\n[\033[31merror\033[0m] Just use the build script to launch SBT and life will be much easier.")
  System.exit(1)
  throw new RuntimeException("No play version")
})

// The Play templates should default to using the latest compatible version of Scala
{'fraction_non_alphanumeric': 0.15258620689655172, 'fraction_numerical': 0.0353448275862069, 'mean_word_length': 4.702702702702703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7107942', 'n_tokens_mistral': 843, 'n_tokens_neox': 785, 'n_words': 183}