Skip to content

Latest commit

 

History

History
 
 

easy-rules-tutorials

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

EasyRules-Gradle

Usage:

NB: Use '--quiet' or '-q' to supress Gradle build output lines

./gradlew usage
   Prints following usage to the console

./gradlew FizzBuzz
   Baseline FizzBuzz using code.
   Prints the numbers from 1 to 100. But for multiples of 3 print 'Fizz' instead 
   of the number and for the multiples of 5 print 'Buzz'. For numbers which are 
   multiples of both three and five print 'FizzBuzz'.
   
./gradlew FizzBuzzER
   FizzBuzz implementation using EasyRules.

./gradlew HelloWorld -q
   Obligatory 'Hello, world' example where the input is evaluated by a rule.
   
./gradlew Shop -P person=Tommy -P age=15
   Rule to evaluate drinking age (US 21); Nmae and age can be passed in via the command line
   or system properties; Default is 'Tom' at age '17'.

./gradlew clean
 Remove all reports and artifacts from './build'