<commit_before>enablePlugins(HaxeJavaPlugin)

organization := "com.thoughtworks.microbuilder"

name := "microbuilder-play"

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/releases"

libraryDependencies += "org.specs2" %% "specs2-core" % "3.6.4" % Test

libraryDependencies += "com.typesafe.play" %% "play-ws" % "2.4.2"

libraryDependencies += "com.thoughtworks.microbuilder" %% "microbuilder-core" % "0.1.0" % TestHaxeJava classifier "haxe-java"

libraryDependencies += "com.thoughtworks.microbuilder" %% "microbuilder-core" % "0.1.0"

libraryDependencies += "com.thoughtworks.microbuilder" %% "json-stream" % "2.0.3" % TestHaxeJava classifier "haxe-java"

libraryDependencies += "com.thoughtworks.microbuilder" %% "json-stream" % "2.0.3" % Provided

libraryDependencies += "com.qifun" %% "haxe-scala-stm" % "0.1.4" % TestHaxeJava classifier "haxe-java"

libraryDependencies += "org.scala-stm" %% "scala-stm" % "0.7" % Test

libraryDependencies += "org.specs2" %% "specs2-mock" % "3.6.4" % Test

libraryDependencies += "org.mockito" % "mockito-all" % "1.10.19" % Test

libraryDependencies += "com.github.dreamhead" % "moco-core" % "0.10.1" % Test

libraryDependencies += "de.leanovate.play-mockws" %% "play-mockws" % "2.4.0" % Test

libraryDependencies += "com.typesafe.play" %% "play-specs2" % "2.4.2" % Test

val haxelibs = Map(
  "microbuilder-core" -> DependencyVersion.SpecificVersion("0.1.0")
)

haxelibDependencies ++= haxelibs

for (c <- Seq(Compile, Test)) yield {
  haxeOptions in c ++= haxelibOptions(haxelibs)
}

for (c <- Seq(Compile, Test)) yield {
  haxeOptions in c ++= Seq("-D", "scala")
}
<commit_msg>Avoid dependency microbuilder-core being used from both Maven and haxelib<commit_after>enablePlugins(HaxeJavaPlugin)

organization := "com.thoughtworks.microbuilder"

name := "microbuilder-play"

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/releases"

libraryDependencies += "org.specs2" %% "specs2-core" % "3.6.4" % Test

libraryDependencies += "com.typesafe.play" %% "play-ws" % "2.4.2"

libraryDependencies += "com.thoughtworks.microbuilder" %% "microbuilder-core" % "0.1.0" % TestHaxeJava classifier "haxe-java"

libraryDependencies += "com.thoughtworks.microbuilder" %% "microbuilder-core" % "0.1.0"

libraryDependencies += "com.thoughtworks.microbuilder" %% "json-stream" % "2.0.3" % TestHaxeJava classifier "haxe-java"

libraryDependencies += "com.thoughtworks.microbuilder" %% "json-stream" % "2.0.3" % Provided

libraryDependencies += "com.qifun" %% "haxe-scala-stm" % "0.1.4" % TestHaxeJava classifier "haxe-java"

libraryDependencies += "org.scala-stm" %% "scala-stm" % "0.7" % Test

libraryDependencies += "org.specs2" %% "specs2-mock" % "3.6.4" % Test

libraryDependencies += "org.mockito" % "mockito-all" % "1.10.19" % Test

libraryDependencies += "com.github.dreamhead" % "moco-core" % "0.10.1" % Test

libraryDependencies += "de.leanovate.play-mockws" %% "play-mockws" % "2.4.0" % Test

libraryDependencies += "com.typesafe.play" %% "play-specs2" % "2.4.2" % Test

val haxelibs = Map(
  "continuation" -> DependencyVersion.SpecificVersion("1.3.2"),
  "microbuilder-HUGS" -> DependencyVersion.SpecificVersion("2.0.1")
)

haxelibDependencies ++= haxelibs

for (c <- Seq(Compile, Test)) yield {
  haxeOptions in c ++= haxelibOptions(haxelibs)
}

for (c <- Seq(Compile, Test)) yield {
  haxeOptions in c ++= Seq("-D", "scala")
}

{'fraction_non_alphanumeric': 0.1801328168234643, 'fraction_numerical': 0.027946873270614278, 'mean_word_length': 4.9457236842105265, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 6, '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': '3242758', 'n_tokens_mistral': 1484, 'n_tokens_neox': 1340, 'n_words': 233}