Skip to content

Commit

Permalink
Updated README on opening with IDEA
Browse files Browse the repository at this point in the history
  • Loading branch information
victorskl committed Oct 18, 2020
1 parent 301e640 commit c177be9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ dest/
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

.idea/

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
Expand Down
4 changes: 3 additions & 1 deletion 04-multi-project-build/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# gradle multi-project build

1. Hierarchical (aka one root tree)
1. Hierarchical (aka one root tree) -- i.e. _Maven multi-modules style_
2. Flat (no tree)

> Focus on `settings.gradle` file i.e. `include` Vs `includeFlat`
```
cd hierarchical
tree
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,27 @@
gw -h
```

- However, Gradle has a concept called, localised build wrapper script that go along with source code that it meant to build. Hence, you will find these additional auto-generated _fallout-files_ in every other Gradle projects. You may pay no-attention these files on the starter!
```
gradlew
gradlew.bat
gradle/
gradle/wrapper/
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
```

- Opening with IntelliJ IDEA
> 🙋‍♂️ Note that this tute is meant to follow with command line (Terminal). You may still open with IntelliJ IDEA but, _DO NOT AUTO IMPORT_ when _build script detected_ message balloon-y pop-up. If you happen to click auto import by mistake, close it, `rm -rf .idea` and reopen again.
> For that, I would recommend to use Sublime or VSCode or even vim! Just to avoid confusion that may arise with any Java IDE auto setup upon opening thing-y.
### Resources

- https://gradle.org/install/
- https://github.com/dougborg/gdub
- https://www.baeldung.com/gradle


### Useful commands

```
Expand Down

0 comments on commit c177be9

Please sign in to comment.