NetLogo Extension Plugin
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
resolvers += Resolver.url( "NetLogo-JVM", url("http://dl.bintray.com/content/netlogo/NetLogo-JVM"))( Resolver.ivyStylePatterns) addSbtPlugin("org.nlogo" % "netlogo-extension-plugin" % "3.2")
enablePlugins(org.nlogo.build.NetLogoExtension) netLogoVersion := "6.0.2" netLogoClassManager := "HelloScalaExtension" netLogoExtName := "helloscala" netLogoZipSources := false
Building to Base Directory
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.