- Getting started
- Installing sbt
- Hello, World!
- Directory structure
- Running sbt
- Common Terminology
- Task
- Command
- Setting
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
@Target({ElementType.ANNOTATION_TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) | |
@Retention(RetentionPolicy.RUNTIME) | |
public @interface Info { } |
import sbt._ | |
import sbt.Keys._ | |
import sbt.plugins.JvmPlugin | |
object SettingsPlugin extends AutoPlugin { | |
override def trigger: PluginTrigger = AllRequirements | |
override def requires: Plugins = JvmPlugin | |
override def projectSettings: Seq[Setting[_]] = Seq |