)]}'
{
  "commit": "daf9488c0db5509cb837eed31b59c0829cfc24c1",
  "tree": "4dacc100d115cf189a0c3998504d8e2a57b531c8",
  "parents": [
    "b7b74c2dbf05eeefd32e7658c5a7035aec606974"
  ],
  "author": {
    "name": "Martin Petrov",
    "email": "martin@martinpetrov.com",
    "time": "Mon Dec 20 12:56:26 2021 -0800"
  },
  "committer": {
    "name": "Facebook GitHub Bot",
    "email": "facebook-github-bot@users.noreply.github.com",
    "time": "Mon Dec 20 12:57:20 2021 -0800"
  },
  "message": "Fix main class in pom file. (#264)\n\nSummary:\nBuilding with `mvn install` currently results in a jar with a missing main class, as `main` was moved to core/src/main/java/com/facebook/ktfmt/cli/Main.kt\n\nPull Request resolved: https://github.com/facebookincubator/ktfmt/pull/264\n\nTest Plan:\nImported from GitHub, without a `Test Plan:` line.\n\nBefore this change, trying to run the built jar fails:\n```\n% $JAVA_HOME/bin/java -jar ~/.m2/repository/com/facebook/ktfmt/0.31-SNAPSHOT/ktfmt-0.31-SNAPSHOT-jar-with-dependencies.jar\nError: Could not find or load main class com.facebook.ktfmt.MainKt\n```\n\nAfter this fix, the JAR loads fine:\n```\n% $JAVA_HOME/bin/java -jar ~/.m2/repository/com/facebook/ktfmt/0.31-SNAPSHOT/ktfmt-0.31-SNAPSHOT-jar-with-dependencies.jar\nUsage: ktfmt [--dropbox-style | --google-style | --kotlinlang-style] File1.kt File2.kt ...\n```\n\nUpdated the [wiki](https://www.internalfb.com/intern/wiki/Ktfmt_(aka_facebook-kotlin-format)/Testing_Changes/) to include this check.\n\nReviewed By: hick209\n\nDifferential Revision: D33240462\n\nPulled By: davidtorosyan\n\nfbshipit-source-id: cb5687e8e33e8b00709a2a79c17af27e51cd61bb\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "125b86259b489a925f1c976819af7ac2b4f28b57",
      "old_mode": 33188,
      "old_path": "core/pom.xml",
      "new_id": "0a71ad26c2401e099cbb7fc2529d61dce2fd3c69",
      "new_mode": 33188,
      "new_path": "core/pom.xml"
    }
  ]
}
