1 use Module::Build; 2 3 my $build = Module::Build->new( 4 module_name => 'ANTLR::Runtime', 5 license => 'perl', 6 requires => { 7 'Carp' => '1.04', 8 'Moose' => '0.82', 9 'Readonly' => '1.03', 10 'List::MoreUtils' => '0.22', 11 'Want' => '0.18', 12 'Error' => '0.17014', 13 }, 14 build_requires => { 15 'Test::Class' => '0.28', 16 'Java::JVM::Classfile' => '0.20', 17 }, 18 test_files => 't/*.t t/examples/*.t', 19 ); 20 $build->create_build_script; 21