<commit_before>class JbossForge < Formula
  desc "Tools to help set up and configure a project"
  homepage "https://forge.jboss.org/"
  url "https://downloads.jboss.org/forge/releases/3.9.6.Final/forge-distribution-3.9.6.Final-offline.zip"
  version "3.9.6.Final"
  sha256 "a9b20cb25f8d8009a6cb3c7419842c2594ee05cc4af42c26753afdd283148960"

  bottle :unneeded

  depends_on :java => "1.8+"

  def install
    rm_f Dir["bin/*.bat"]
    libexec.install %w[addons bin lib logging.properties]
    bin.install_symlink libexec/"bin/forge"
  end

  test do
    assert_match "org.jboss.forge.addon:core", shell_output("#{bin}/forge --list")
  end
end<commit_msg>jboss-forge: depend on openjdk<commit_after>class JbossForge < Formula
  desc "Tools to help set up and configure a project"
  homepage "https://forge.jboss.org/"
  url "https://downloads.jboss.org/forge/releases/3.9.6.Final/forge-distribution-3.9.6.Final-offline.zip"
  version "3.9.6.Final"
  sha256 "a9b20cb25f8d8009a6cb3c7419842c2594ee05cc4af42c26753afdd283148960"
  revision 1

  bottle :unneeded

  depends_on "openjdk"

  def install
    rm_f Dir["bin/*.bat"]
    libexec.install %w[addons bin lib logging.properties]
    bin.install libexec/"bin/forge"
    bin.env_script_all_files libexec/"bin", :JAVA_HOME => "${JAVA_HOME:-#{Formula["openjdk"].opt_prefix}}"
  end

  test do
    assert_match "org.jboss.forge.addon:core", shell_output("#{bin}/forge --list")
  end
end
{'fraction_non_alphanumeric': 0.13137665967854648, 'fraction_numerical': 0.07756813417190776, 'mean_word_length': 4.169675090252707, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5357717', 'n_tokens_mistral': 632, 'n_tokens_neox': 556, 'n_words': 99}