Skip to content

Commit

Permalink
Feature/task assignment (#5)
Browse files Browse the repository at this point in the history
* Execute task and save result in build directory
* Add working clean task
* Upgrade Gradle to 7.1.1
* Fix build directories
* Make sorting task depend on clean task
* Update README
  • Loading branch information
rivancic committed Aug 8, 2021
1 parent ba17338 commit a812945
Show file tree
Hide file tree
Showing 159 changed files with 196 additions and 4,099 deletions.
29 changes: 29 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/modules/precompiled-binary-plugin-dependency.test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules/simple-script-plugin.iml

This file was deleted.

Binary file added GradleLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# Gradle Build Tool Example Projects
# Gradle Plugin Development

This repository contains examples of various Gradle features with the emphasis on Gradle plugins.
This repository contains examples and assignments from <a href="https://www.udemy.com/course/gradle-development/?referralCode=770153C3FD82A6D1522C" target="_blank">Gradle Plugin Development</a> Udemy course.

<a href="https://www.udemy.com/course/gradle-development/?referralCode=770153C3FD82A6D1522C" target="_blank"><img src="GradleLogo.png" width="500"></img></a>

All examples are written using Groovy Gradle build scripts and additional code in Java 15. Projects were created with IntelliJ IDEA.
Every project comes bundled with Gradle wrapper version 7.0 or 6.8.3.
Every project comes bundled with Gradle wrapper version 7.0 or higher.

Below is the menu for easier navigation between sections. Every section contains multiple examples or assignments with the focus on a particular topic.

| Module | Description | External Link |
| ------------- |:-------------:| -------------:|
| **[task](task/)** | This directory contains assignments and examples with the focus on Gradle tasks. | Task lecture |
| **[script-plugin](script-plugin/)** | Script plugin is the easiest possible way of extracting tasks and any additional build logic from original build.gradle file. | Script plugin lecture |
| **[precompiled-plugin](precompiled-plugin/)** | Going step further one can extract script plugin into precompiled plugin. | Precompiled plugin lecture |
| **[binary-plugin](binary-plugin/)** | Not the fastest way to create a plugin, but it gives you the most options regarding extraction of the build logic and reusability. | Binary plugin lecture |
| **[task](task/)** | This directory contains assignments and examples with the focus on Gradle tasks. The task is sorting files. Those tasks will be the base for plugin development. | Task lecture |

For any changes or additional content check [release notes](https://github.com/rivancic/gradle/releases).

Expand Down
16 changes: 0 additions & 16 deletions precompiled-plugin/README.md

This file was deleted.

152 changes: 0 additions & 152 deletions precompiled-plugin/precompiled-plugin/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions precompiled-plugin/precompiled-plugin/.idea/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions precompiled-plugin/precompiled-plugin/.idea/checkstyle-idea.xml

This file was deleted.

6 changes: 0 additions & 6 deletions precompiled-plugin/precompiled-plugin/.idea/compiler.xml

This file was deleted.

8 changes: 0 additions & 8 deletions precompiled-plugin/precompiled-plugin/.idea/misc.xml

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions precompiled-plugin/precompiled-plugin/.idea/vcs.xml

This file was deleted.

Loading

0 comments on commit a812945

Please sign in to comment.