Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 1.03 KB

File metadata and controls

14 lines (13 loc) · 1.03 KB

Build-Tools Gradle Task

  • 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)