Values intended for the organization of a packaged artifact.
Aspectj settings for load-time weaving of aspects (i.
Aspectj settings for load-time weaving of aspects (i.e. compile aspects only; no compile-time weaving)
SBT settings
Javac & Scalac compiler options to include debug symbols.
Javac & Scalac compiler options to include debug symbols.
SBT settings
publish
have a dependency on dependencyTree
so that when doing just publish
, we'd automatically get the dependencyTree
as well.
SBT settings to exclude directories that do not exist.
SBT settings that can projects are likely to override.
Generates SBT settings for the UniversalPlugin such that univeral:packageBin
will create a '*-resource.
Generates SBT settings for the UniversalPlugin such that univeral:packageBin
will create a '*-resource.zip' archive consisting of
he jar, source, javadoc for Compile & Test, if available,
any *.md documentation and any models/\*.mdzip MD models
override the default dynamicScripts project name calculated from SBT's baseDirectory
SBT settings for the UniversalPlugin
Example usage in *.sbt or *.scala SBT file (don't use this with Jenkins CI!)
lazy val core = Project("" , file(".")). settings(GitVersioning.buildSettings). // should be unnecessary but it doesn't work without this enablePlugins(IMCEGitPlugin). settings(dynamicScriptsProjectResourceSettings). ...
Example usage in *.sbt or *.scala SBT file (OK to use this with Jenkins CI)
lazy val core = Project("" , file(".")). settings(GitVersioning.buildSettings). // should be unnecessary but it doesn't work without this enablePlugins(IMCEGitPlugin). settings(dynamicScriptsProjectResourceSettings(Some("" )). ...
Lookup the location of the runtime library for a specific version of the JDK
Lookup the location of the runtime library for a specific version of the JDK
The Config to lookup the JDK installation location
The Config property path of the form 'jdk_locations.1.<N>' used to lookup the JDK location or to map to environment property of the form 'jdk_locations_1_<N>'
A pair of the JDK version (1.<N>) and, optionally, the location of the jre/lib/rt.jar in the JDK installation folder
Computes the additional JDK version-specific content to append to javacOptions
Computes the additional JDK version-specific content to append to javacOptions
JDK version & installation location, if available
content to append to javacOptions
https://blogs.oracle.com/darcy/entry/how_to_cross_compile_for
https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
Computes the additional JDK version-specific content to append to scalacOptions
Computes the additional JDK version-specific content to append to scalacOptions
JDK version & installation location, if available
content to append to scalacOptions
https://blogs.oracle.com/darcy/entry/how_to_cross_compile_for
https://blogs.oracle.com/darcy/entry/bootclasspath_older_source
http://stackoverflow.com/questions/32419353/
Settings to generate scaladoc for scala source code.
Settings to generate scaladoc for scala source code. If there are uncommitted changes, the generated javadoc will be empty.
Limitations (probably due to scaladoc)
true: use graphviz to generate diagrams
http://stackoverflow.com/questions/33715459/scaladoc-how-to-make-scaladoc-encode-method-names-like-scalaz
https://groups.google.com/forum/#!topic/scala-user/gMXOnVqTYo0
Strict Scala compiler flags:
Strict Scala compiler flags:
- all warnings are errors - no dead code - no implicit numeric widening - no discarded value - no unused imports - no adapted arguments (e.g. auto-tupling) - no unchecked types - no deprecated APIs
SBT settings
https://tpolecat.github.io/2014/04/11/scalac-flags.html http://blog.threatstack.com/useful-scalac-options-for-better-scala-development-part-1