代码拉取完成,页面将自动刷新
lazy val baseName = "SyntaxPane"
lazy val baseNameL = baseName.toLowerCase
lazy val projectVersion = "1.1.9"
lazy val mimaVersion = "1.1.7" // for comparison wrt binary compatibility
name := baseName
version := projectVersion
organization := "de.sciss"
description := "An extension of Java Swing's JEditorKit that supports syntax highlighting for several languages."
homepage := Some(url(s"https://github.com/Sciss/${name.value}"))
licenses := Seq("Apache 2.0 License" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
scalaVersion := "2.12.4" // not used; note that Travis now uses JDK 8 anyway, even if you specify JDK 6
crossPaths := false // this is just a Java project right now!
autoScalaLibrary := false
mainClass in Compile := Some("de.sciss.syntaxpane.SyntaxTester")
javacOptions in (Compile, compile) ++= Seq("-g", "-source", "1.6", "-target", "1.6")
fork in run := true
mimaPreviousArtifacts := Set("de.sciss" % baseNameL % mimaVersion)
// ---- JFlex ----
seq(jflexSettings: _*)
// ---- publishing ----
publishMavenStyle := true
publishTo :=
Some(if (isSnapshot.value)
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
else
"Sonatype Releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2"
)
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := { val n = name.value
<scm>
<url>git@github.com:Sciss/{n}.git</url>
<connection>scm:git:git@github.com:Sciss/{n}.git</connection>
</scm>
<developers>
<developer>
<id>sciss</id>
<name>Hanns Holger Rutz</name>
<url>http://www.sciss.de</url>
</developer>
</developers>
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。