emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ0] 1) Gradle/wrapper... 2) adding files/committing 3) src/main/java #22

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hello,

I have the following issues and would appreciate guidance on how to solve them:

1) I cannot see gradle/wrapper/gradle-wrapper.properties and therefore I cannot open it.

2) The end of Textbook chapter 0.1 states, "Add all files and make the initial commit. Check if the repository is created under your GitHub account." I am unsure about how to add all files and make the initial commit. Please suggest how I should do this. Also, how many files should we see in the repository in our GitHub account?

3) I cannot view src and so cannot access src/main/java.


I have attached a screenshot of my IntelliJ IDEA window below:

HW0 IDEA
lujiaying commented 4 years ago

For 1 and 2, please refer to https://github.com/emory-courses/dsa-java/issues/12

It may take several minutes for IntelliJ to download all needed files and create directories according to network speed and computer CPUs.

After gradle/wrapper/gradle-wrapper.properties and other directories are created, then we can follow the tutorial to proceed.

lujiaying commented 4 years ago

@ddalama There are several ways to force Gradle update all dependencies:

On the Gradle tab (right side of UI), click the blue circling arrows icon, which should refresh the dependencies (works in most cases) If that does not work, try running the Gradle command in IntelliJ using the Green "run Gradle command" icon - this runs the command in IntelliJs environment not that of your local machine.

From stackoverflow