|
7 years ago | |
---|---|---|
.. | ||
project | 7 years ago | |
src | 7 years ago | |
.gitignore | 7 years ago | |
README.md | 7 years ago | |
build.sbt | 7 years ago | |
scripted.sbt | 7 years ago |
This plugin provides common build boilerplate for NetLogo 5.3.1 and later extensions. For versions before 5.3.1, please refer to version 2.2_5.3
Currently, the plugin targets SBT 1.x (use v3.1 for SBT 0.13).
Simply run the package
SBT command to build a new version of the plugin .jar
. Then, set your SBT project's plugins.sbt
to reference/fetch the .jar
.
For an example usage of this plugin, please see the NetLogo extension activator template's plugins.sbt
and build.sbt
.
project/plugins.sbt
resolvers += Resolver.url(
"NetLogo-JVM",
url("http://dl.bintray.com/content/netlogo/NetLogo-JVM"))(
Resolver.ivyStylePatterns)
addSbtPlugin("org.nlogo" % "netlogo-extension-plugin" % "3.2")
build.sbt
enablePlugins(org.nlogo.build.NetLogoExtension)
netLogoVersion := "6.0.2"
netLogoClassManager := "HelloScalaExtension"
netLogoExtName := "helloscala"
netLogoZipSources := false
By default, the NetLogo Extension Plugin builds a zip file containing all artifacts. If you would like it to extract the sbt base directory instead, you can use:
netLogoTarget := org.nlogo.build.NetLogoExtension.directoryTarget(baseDirectory.value)
The NetLogo Extension plugin is in the public domain. To the extent possible under law, Uri Wilensky has waived all copyright and related or neighboring rights.