- create a new repository @Github named $PROJECT_NAME.git
- create a gradle project with idea named $PROJECT_NAME.git
- select "create directories for empty content roots automatically"
- select "use local distribution"
- initialize git
git initgit remote add origin PATH/TO/REPOgit fetchgit checkout -t origin/master
- create java and test code
- run program and tests from ide
- run tests from console
gradle test - run application from console
- add application plugin to build file
apply plugin: 'application' - declare main class =
mainClassName = '$PACKAGE_NAME.$CLASS_NAME' - run program
gradle run
- add application plugin to build file
- push changes to github
- review changes with
git status - add a .gitignore file to prevent tracking of binaries and generated resources
- review changes with
git statusand verify only appropriate changes are tracked - add tracked sources
git add . - push to local repository
git commit -m "$COMMENT" - push to github
git push origin master
- review changes with
-
Notifications
You must be signed in to change notification settings - Fork 0
disisdenciris/helloGradle
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published