You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
easy-rules/easy-rules-tutorials
Mahmoud Ben Hassine 29a279bc5e move groovy tutorials to easy-rules-tutorials module 8 years ago
..
gradle/wrapper move groovy tutorials to easy-rules-tutorials module 8 years ago
src/main move groovy tutorials to easy-rules-tutorials module 8 years ago
README.md move groovy tutorials to easy-rules-tutorials module 8 years ago
build.gradle move groovy tutorials to easy-rules-tutorials module 8 years ago
gradlew move groovy tutorials to easy-rules-tutorials module 8 years ago
gradlew.bat move groovy tutorials to easy-rules-tutorials module 8 years ago
pom.xml add tutorials 8 years ago

README.md

EasyRules-Gradle

Easy Rules and Java/Maven Tutorials

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'