Thanks to visit codestin.com
Credit goes to github.com

Skip to content

disisdenciris/helloGradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Gradle

  1. create a new repository @Github named $PROJECT_NAME.git
  2. create a gradle project with idea named $PROJECT_NAME.git
    1. select "create directories for empty content roots automatically"
    2. select "use local distribution"
  3. initialize git
    1. git init
    2. git remote add origin PATH/TO/REPO
    3. git fetch
    4. git checkout -t origin/master
  4. create java and test code
  5. run program and tests from ide
  6. run tests from console gradle test
  7. run application from console
    1. add application plugin to build file apply plugin: 'application'
    2. declare main class = mainClassName = '$PACKAGE_NAME.$CLASS_NAME'
    3. run program gradle run
  8. push changes to github
    1. review changes with git status
    2. add a .gitignore file to prevent tracking of binaries and generated resources
    3. review changes with git status and verify only appropriate changes are tracked
    4. add tracked sources git add .
    5. push to local repository git commit -m "$COMMENT"
    6. push to github git push origin master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published