<commit_before>import AndroidKeys._

AndroidProject.androidSettings

AndroidMarketPublish.settings

site.settings

site.sphinxSupport()

name := "Spiel"

version := "3.0.0-SNAPSHOT"

scalaVersion := "2.10.1"

scalacOptions ++= Seq("-deprecation", "-feature", "-language:implicitConversions")

platformName in Android := "android-17"

keystorePath in Android := Path.userHome / ".keystore" / "spiel.keystore"

keyalias in Android := "spiel"

PasswordManager.settings

cachePasswords in Android := true

resolvers ++= Seq(
  "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)

libraryDependencies := Seq(
  "rhino" % "js" % "1.7R2" from "http://android-scripting.googlecode.com/hg/rhino/rhino1_7R2.jar",
  "net.databinder.dispatch" %% "dispatch-json4s-native" % "0.10.0",
  "org.ccil.cowan.tagsoup" % "tagsoup" % "1.2.1",
  "ch.acra" % "acra" % "4.4.0"
)

proguardOption in Android := """
  -keep class scala.collection.SeqLike { public protected *; }
  -keep class info.spielproject.spiel.** { *; }
  -keep class org.mozilla.javascript.* { *; }
  -keep class org.mozilla.javascript.ast.* { *; }
  -keep class org.mozilla.javascript.json.* { *; }
  -keep class org.mozilla.javascript.jdk15.* { *; }
  -keep class org.mozilla.javascript.regexp.* { *; }
  -keep class org.mozilla.javascript.resources.* { *; }
"""<commit_msg>Set JDK target to 1.6 so Spiel can be built even with JDK 1.7+.<commit_after>import AndroidKeys._

AndroidProject.androidSettings

AndroidMarketPublish.settings

site.settings

site.sphinxSupport()

name := "Spiel"

version := "3.0.0-SNAPSHOT"

scalaVersion := "2.10.1"

scalacOptions ++= Seq("-deprecation", "-feature", "-language:implicitConversions", "-target:jvm-1.6")

javacOptions ++= Seq("-source", "1.6", "-target", "1.6")

platformName in Android := "android-17"

keystorePath in Android := Path.userHome / ".keystore" / "spiel.keystore"

keyalias in Android := "spiel"

PasswordManager.settings

cachePasswords in Android := true

resolvers ++= Seq(
  "Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)

libraryDependencies := Seq(
  "rhino" % "js" % "1.7R2" from "http://android-scripting.googlecode.com/hg/rhino/rhino1_7R2.jar",
  "net.databinder.dispatch" %% "dispatch-json4s-native" % "0.10.0",
  "org.scaloid" % "scaloid" % "1.1_8_2.10",
  "org.ccil.cowan.tagsoup" % "tagsoup" % "1.2.1",
  "ch.acra" % "acra" % "4.4.0"
)

proguardOption in Android := """
  -keep class scala.collection.SeqLike { public protected *; }
  -keep class info.spielproject.spiel.** { *; }
  -keep class org.mozilla.javascript.* { *; }
  -keep class org.mozilla.javascript.ast.* { *; }
  -keep class org.mozilla.javascript.json.* { *; }
  -keep class org.mozilla.javascript.jdk15.* { *; }
  -keep class org.mozilla.javascript.regexp.* { *; }
  -keep class org.mozilla.javascript.resources.* { *; }
"""
{'fraction_non_alphanumeric': 0.17875737591114196, 'fraction_numerical': 0.024991322457480043, 'mean_word_length': 4.056140350877193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5720252', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1061, 'n_words': 194}