From 8bc835f4fc0232cd24cb8f7eef438443a6658e13 Mon Sep 17 00:00:00 2001 From: lowrymchristian <55266225+lowrymchristian@users.noreply.github.com> Date: Thu, 29 Sep 2022 17:42:32 -0500 Subject: [PATCH 1/2] Fixed small typo in gradle.rst --- src/chapters/tools-in-intelliJ/gradle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chapters/tools-in-intelliJ/gradle.rst b/src/chapters/tools-in-intelliJ/gradle.rst index d7bf9942..a653ae9d 100644 --- a/src/chapters/tools-in-intelliJ/gradle.rst +++ b/src/chapters/tools-in-intelliJ/gradle.rst @@ -26,7 +26,7 @@ How Gradle Works ---------------- A Gradle build represents one or more **projects**. -Projects are craeted from a series of **tasks**. +Projects are created from a series of **tasks**. Gradle manages tasks based on their function in the build. Some tasks run tests, some compile, etc. Gradle organizes these tasks in the ``build.gradle`` file. From 8fb10458f206c32c15bbb9ce77dd3ad43f7d6ea6 Mon Sep 17 00:00:00 2001 From: lowrymchristian <55266225+lowrymchristian@users.noreply.github.com> Date: Thu, 3 Nov 2022 20:14:14 -0500 Subject: [PATCH 2/2] Update tech-jobs-persistent.rst TestTaskOne will only succeed if build.gradle has the necessary dependencies AND if application.properties has the database connection. Reordered the steps accordingly --- src/assignments/tech-jobs-persistent.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assignments/tech-jobs-persistent.rst b/src/assignments/tech-jobs-persistent.rst index 68dd4fd4..63ac49a0 100644 --- a/src/assignments/tech-jobs-persistent.rst +++ b/src/assignments/tech-jobs-persistent.rst @@ -69,12 +69,12 @@ Part 1: Connect a Database to a Spring App #. In the administration tab, create a new user, ``techjobs`` with the same settings as described in the lesson tutorial. This user should have the password ``techjobs`` as well. -#. Update ``build.gradle`` with the necessary dependencies. At this point, you should be able to run the tests. Run the tests in `TestTaskOne` to verify your gradle dependencies. - #. Update ``src/resources/application.properties`` with the correct info. This will include ``spring.datasource.url`` set to the address of your database connection, as well as the username and password for a user you have created. Refer to the tip below for the other properties you must add to complete your database setup. + +#. Update ``build.gradle`` with the necessary dependencies. At this point, you should be able to run the tests. Run the tests in `TestTaskOne` to verify your gradle dependencies. .. admonition:: Tip