sbt-org-policies is just an SBT plugin that enforces you with some organization policies and settings across all your projects.
Add the following line to
addSbtPlugin("com.47deg" % "sbt-org-policies" % "0.11.2")
Creating New Org Project
- Create a new project from our g8 template:
sbt new 47deg/org-template.g8
- Fill the required information (you can see an example below):
... name [Project Name]: Test projectDescription [Project Description]: project [project-name]: org-test package [com.fortysevendeg]: startYear : organization_web [http://47deg.com]: github_owner [47deg]: github_repo [org-test]: sbt_org_policies_version [0.4.18]: Skipping existing file: ./test/.gitignore Skipping existing file: ./test/build.sbt Skipping existing file: ./test/project/build.properties Skipping existing file: ./test/project/plugins.sbt Template applied in ./test
The new project will be created in the
test folder, with the basic structure and basic sbt configuration based on the sbt-org-policies plugin.
- Create the organization files, to do so, from the project folder, you could just run:
sbt-org-policies is designed and developed by 47 Degrees
Copyright (C) 2017-2019 47 Degrees. http://47deg.com