As you’ve discovered the sparkplug kit is really out of date.
However you can still use the kits’ directory structure and build.xml file to create sparkplugs. All you need to do is replace the Spark directory that comes with the kit, with a directory that contains the latest version of Spark.