- Install Gradle
- Assemble custom jar utils-1.3.5.jar. It should be compatible with java 8. The manifest file should contain the name and version of your jar. The jar should contain class StringUtils with method boolean isPositiveNumber(String str).
- Use Apache Commons Lang 3.10 library to implement this method.
- Write one any unit test for your StringUtils.isPositiveNumber(String str) using JUnit 5.+.
- Create a project multi-project with two subprojects core and api.
- The core subproject should contain class Utils with method boolean isAllPositiveNumbers(String... str).
- Use utils-1.3.5.jar from the previous task to implement this method.
- The api subproject should contain class App with the main method.
- Call Utils.isAllPositiveNumbers("12", "79") from the main method of api subproject.
- Make a gradle plugin, which is also published and connected to the project.
- As an example of plugin functionality - testing and report generation.
- Translate the test task to Gradle (if you used Maven or others)
mkhlktvnk/Clevertec-Build-Tools-Gradle-Task
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published