diff --git a/Karamelfile b/Karamelfile new file mode 100644 index 00000000..50fab148 --- /dev/null +++ b/Karamelfile @@ -0,0 +1,3 @@ +dependencies: + - recipe: java::install + - recipe: java::default diff --git a/metadata.rb b/metadata.rb index 287ca7b5..79beb739 100644 --- a/metadata.rb +++ b/metadata.rb @@ -45,3 +45,24 @@ suggests 'homebrew' suggests 'windows' suggests 'aws' + + +attribute "java/jdk_version", + :description => "Jdk version", + :type => 'string' + +attribute "java/jdk/8/x86_64/url", + :description => "Download URL", + :type => 'string' + +attribute "java/jdk/8/x86_64/checksum", + :description => "MD5 checksum for the jdk binary", + :type => 'string' + +attribute "java/install_flavor", + :description => "Oracle or openjdk", + :type => 'string' + +attribute "java/oracle/accept_oracle_download_terms", + :description => "Accept terms conditions", + :type => 'string' diff --git a/recipes/install.rb b/recipes/install.rb new file mode 100644 index 00000000..e69de29b