<commit_before>import android.Keys._
import sbt.Keys._
import sbt._
import android.protify.Keys._

object Build extends android.AutoBuild {

  // shortcuts
  lazy val p = TaskKey[Unit]("p", "protify shortcut")

  lazy val app = {
    Project(id = "app", base = file(".")).settings(appsSettings ++ Dependencies.libs: _*)
  }

  lazy val appsSettings = Seq(
    name := "$name$",
    versionName in Android := Some("1.0.0"),
    scalaVersion := Versions.scalaVersion,
    platformTarget in Android := Versions.platformTarget,
    proguardOptions in Android ++= io.Source.fromFile("project/proguard.pro").getLines().toSeq,

    buildTypes in Android +=("debug", Seq(
      proguardOptions in Android ++= Settings.proguardDebug,
      scalacOptions ++= Seq("-feature", "-deprecation"),
      minSdkVersion in Android := "$targetSdk$"
    )),

    buildTypes in Android +=("release", Seq(
      proguardOptions in Android ++= Settings.proguardRelease,
      scalacOptions ++= Seq("-feature", "-optimise"),
      minSdkVersion in Android := "$minSdk$"
    )),


    run <<= run in Android,
    test <<= test in Android,
    install <<= install in Android,
    packageDebug <<= packageDebug in Android,

    p <<= protify,

    javacOptions in Compile ++= Seq("-source", "1.7", "-target", "1.7", "-Xlint:unchecked", "-Xlint:deprecation"),
    javaOptions in Android := Seq("-Xmx2G -XX:MaxPermSize=702M -XX:ReservedCodeCacheSize=256 -XX:+CMSClassUnloadingEnabled -XX:+UseCodeCacheFlushing"),

    dexShards in Android := true,
    dexMaxHeap in Android := "4G",
    packagingOptions in Android := PackagingOptions(excludes = Settings.apkExcludeStrings)

  ) ++ protifySettings


}


<commit_msg>Update build.scala<commit_after>import android.Keys._
import sbt.Keys._
import sbt._
import android.protify.Keys._

object Build extends android.AutoBuild {

  // shortcuts
  lazy val p = TaskKey[Unit]("p", "protify shortcut")

  lazy val app = {
    Project(id = "app", base = file(".")).settings(appsSettings ++ Dependencies.libs: _*)
  }

  lazy val appsSettings = Seq(
    name := "$name$",
    versionName in Android := Some("1.0.0"),
    scalaVersion := Versions.scalaVersion,
    platformTarget in Android := Versions.platformTarget,
    proguardOptions in Android ++= io.Source.fromFile("project/proguard.pro").getLines().toSeq,

    buildTypes in Android +=("debug", Seq(
      proguardOptions in Android ++= Settings.proguardDebug,
      scalacOptions ++= Seq("-feature", "-deprecation"),
      minSdkVersion in Android := "$targetSdk$"
    )),

    buildTypes in Android +=("release", Seq(
      proguardOptions in Android ++= Settings.proguardRelease,
      scalacOptions ++= Seq("-feature", "-optimise"),
      minSdkVersion in Android := "$minSdk$"
    )),


    run <<= run in Android,
    install <<= install in Android,
    packageDebug <<= packageDebug in Android,

    p <<= protify,

    javacOptions in Compile ++= Seq("-source", "1.7", "-target", "1.7", "-Xlint:unchecked", "-Xlint:deprecation"),
    javaOptions in Android := Seq("-Xmx2G -XX:MaxPermSize=702M -XX:ReservedCodeCacheSize=256 -XX:+CMSClassUnloadingEnabled -XX:+UseCodeCacheFlushing"),

    dexShards in Android := true,
    dexMaxHeap in Android := "4G",
    packagingOptions in Android := PackagingOptions(excludes = Settings.apkExcludeStrings)

  ) ++ protifySettings


}



{'fraction_non_alphanumeric': 0.14661092863541356, 'fraction_numerical': 0.008957897879964169, 'mean_word_length': 3.799426934097421, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 3, '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': '5372931', 'n_tokens_mistral': 1082, 'n_tokens_neox': 1035, 'n_words': 253}