A skeletal Scala/Gradle project. It includes Scala, ScalaTest, JUnit, Mockito, and the gradle-scalatest plugin, as well as Log4J 1.2 and a console-only log4j.xml for testing.
-
create the new repository and copy its URL, e.g.
https://github.com/chronodm/new-project.git
-
create a 'bare clone' of this this project:
git clone --bare https://github.com/chronodm/scala-project-template
-
cd to the bare clone:
cd scala-project-template.git
-
mirror-push to the new repository
git push --mirror https://github.com/chronodm/new-project.git
-
remove the
scala-project-template.git
directorycd ..; rm -rf scala-project-template.git
-
clone the new repository and CD to the new directory:
git clone https://github.com/chronodm/new-project.git cd new-project
-
remove or edit this README file.
-
edit
build.gradle
to update versions, if you feel like it -
edit
settings.gradle
file to set the root project name -
check that everything's working:
./gradlew check
-
start coding!