Shared sbt plugin for OpenURP projects. It provides common build settings and a curated set of Beangle / third-party dependency versions.
- sbt 2.x (plugin built with sbt 2.0+)
- Scala 3.3.x / JVM 21 (defaults from
Settings.common)
In project/plugin.sbt:
addSbtPlugin("org.openurp" % "sbt-openurp-parent" % "0.11.1")In build.sbt:
import org.openurp.parent.Dependencies.*
import org.openurp.parent.Settings.*
lazy val root = (project in file("."))
.settings(
common,
libraryDependencies ++= Seq(beangle_commons, beangle_ems_app)
)| API | Description |
|---|---|
Settings.common |
Organization, license, Scala/Java options, publish settings, version policy |
Settings.stubJavadoc |
Placeholder -javadoc.jar for Maven Central (no full Scaladoc) |
Dependencies.* |
Versioned Beangle and common library coordinates |
sbt compile
sbt publishLocal
sbt publishSnapshots publish to Central Snapshots; releases use Sonatype Central staging (localStaging).
- Homepage: https://github.com/openurp/parent
- Docs: https://openurp.github.io/