SHARE
TWEET

Untitled

a guest Jun 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Scala Gradle Application
  2. The first step is to create a folder for the new project and change directory into it.
  3.  
  4. $ mkdir building-scala-gradle-project
  5.  
  6. $ cd building-scala-gradle-project
  7.  
  8. Run the init task From inside the new project directory, run the init task with the scala-library argument.
  9.  
  10. $ gradle init --type scala-library
  11.  
  12. :wrapper
  13.  
  14. :init
  15.  
  16. BUILD SUCCESSFUL in 4s
  17.  
  18. 2 actionable tasks: 2 executed
  19.  
  20. Add the below plugin in to the build.gradle file to see the scala test running with Junit in console
  21.  
  22. id 'com.adarshr.test-logger' version '1.2.0'
  23.  
  24. Run the below command to see the test result
  25.  
  26. $./gradlew clean test
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top