updated the gradle plugin to use the new matching code
added specification test cases for matching by regex and type