Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.26 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.26 KB

gradle-tute

  • Install

    brew install gradle gdub
    gradle -v
    gw -v
    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

Useful commands

gradle init
gradle wrapper
gradle dependencyInsight --configuration testRuntimeClasspath --dependency httpclient