This is an automated email from the ASF dual-hosted git repository. sergeykamov pushed a commit to branch NLPCRAFT-520-scaladoc in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit 604db673d8034b4b50d575f693325b2182798252 Author: Sergey Kamov <[email protected]> AuthorDate: Sat Jan 14 16:38:41 2023 +0400 Examples initial scaladoc. --- build.sbt | 17 ++++++++++++++++- project/plugins.sbt | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index d88fe0d4..419a8705 100644 --- a/build.sbt +++ b/build.sbt @@ -50,7 +50,7 @@ ThisBuild / description := "An open source API to convert natural language into ThisBuild / licenses := List("Apache-2.0" -> url("https://github.com/sbt/sbt/blob/develop/LICENSE")) ThisBuild / homepage := Some(url("https://nlpcraft.apache.org/")) ThisBuild / scmInfo := Some(ScmInfo(url("https://github.com/apache/incubator-nlpcraft"), "scm:[email protected]/apache/incubator-nlpcraft.git")) - +ThisBuild / autoAPIMappings := true ThisBuild / developers ++= List( "aradzinski" -> "Aaron Radzinski ", "skhdl" -> "Sergey Kamov" @@ -114,6 +114,21 @@ lazy val nlpcraftStanford = (project in file("nlpcraft-stanford")) libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCoreNLPVer classifier "models" ) +lazy val nlpcraftWithStandord = (project in file(".")) + .enablePlugins(ScalaUnidocPlugin) + .aggregate(nlpcraft, nlpcraftStanford) + .settings( + name := "NLPCraft with Stanford Module", + version := nlpcraftVer, + + // Scaladoc config. + Compile / doc / scalacOptions ++= commonScalaDoc, + + libraryDependencies ++= libs, + libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCoreNLPVer, + libraryDependencies += "edu.stanford.nlp" % "stanford-corenlp" % stanfordCoreNLPVer classifier "models" + ) + lazy val timeExample = (project in file("nlpcraft-examples/time")) .dependsOn(nlpcraft) .settings( diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 00000000..fd84e245 --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") \ No newline at end of file
