
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.016.
use strict;
use warnings;

use Module::Build 0.3601;


my %module_build_args = (
  "build_requires" => {
    "Module::Build" => "0.3601"
  },
  "configure_requires" => {
    "Module::Build" => "0.3601"
  },
  "dist_abstract" => "Dancer plugin to cache response content (and anything else)",
  "dist_author" => [
    "Yanick Champoux <yanick\@cpan.org>"
  ],
  "dist_name" => "Dancer2-Plugin-Cache-CHI",
  "dist_version" => "1.6.0",
  "license" => "perl",
  "module_name" => "Dancer2::Plugin::Cache::CHI",
  "recommends" => {},
  "recursive_test_files" => 1,
  "requires" => {
    "CHI" => 0,
    "Carp" => 0,
    "Dancer2" => "0.140001",
    "Dancer2::Plugin" => 0,
    "Moo" => "1.000007",
    "strict" => 0,
    "warnings" => 0
  },
  "script_files" => [],
  "test_requires" => {
    "HTTP::Request::Common" => 0,
    "Plack::Test" => 0,
    "Test::More" => "0.88",
    "lib" => 0,
    "perl" => "v5.10.0"
  }
);


my %fallback_build_requires = (
  "HTTP::Request::Common" => 0,
  "Module::Build" => "0.3601",
  "Plack::Test" => 0,
  "Test::More" => "0.88",
  "lib" => 0,
  "perl" => "v5.10.0"
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

my $build = Module::Build->new(%module_build_args);

$build->create_build_script;
