{"id":13648895,"url":"https://github.com/com-lihaoyi/mill","last_synced_at":"2026-01-17T06:23:41.806Z","repository":{"id":36962832,"uuid":"107214500","full_name":"com-lihaoyi/mill","owner":"com-lihaoyi","description":"Mill is a fast JVM build tool that supports Java, Scala, Kotlin and many other languages. 3-6x faster than Maven or Gradle for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible","archived":false,"fork":false,"pushed_at":"2025-05-12T12:18:18.000Z","size":933135,"stargazers_count":2418,"open_issues_count":189,"forks_count":404,"subscribers_count":51,"default_branch":"main","last_synced_at":"2025-05-12T13:18:12.945Z","etag":null,"topics":["android","build-system","build-tool","java","jvm","kotlin","mill","mill-plugin","python","scala","scala-js","scala-native","typescript","zinc"],"latest_commit_sha":null,"homepage":"https://mill-build.org/","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/com-lihaoyi.png","metadata":{"files":{"readme":"readme.adoc","changelog":"changelog.adoc","contributing":"CONTRIBUTING.adoc","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.adoc","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["lihaoyi","lefou"]}},"created_at":"2017-10-17T03:43:19.000Z","updated_at":"2025-05-12T11:25:22.000Z","dependencies_parsed_at":"2023-10-03T04:23:19.407Z","dependency_job_id":"563de4f4-3650-454c-9a24-a4d14ebf7ce5","html_url":"https://github.com/com-lihaoyi/mill","commit_stats":{"total_commits":3107,"total_committers":195,"mean_commits":"15.933333333333334","dds":0.6295461860315417,"last_synced_commit":"a3bd10c7e22c8f9287b9e88eee0faee4d67288c9"},"previous_names":["lihaoyi/mill"],"tags_count":148,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-lihaoyi%2Fmill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-lihaoyi%2Fmill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-lihaoyi%2Fmill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-lihaoyi%2Fmill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/com-lihaoyi","download_url":"https://codeload.github.com/com-lihaoyi/mill/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745196,"owners_count":21957319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","build-system","build-tool","java","jvm","kotlin","mill","mill-plugin","python","scala","scala-js","scala-native","typescript","zinc"],"created_at":"2024-08-02T01:04:37.834Z","updated_at":"2026-01-17T06:23:41.794Z","avatar_url":"https://github.com/com-lihaoyi.png","language":"Scala","readme":"= image:website/docs/logo.svg[title=Mill Logo] Mill: A Better Build Tool for Java, Scala, \u0026 Kotlin\n:mill-stable-version: 1.0.6\n:link-github: https://github.com/com-lihaoyi/mill\n:link-current-doc-site: https://mill-build.org\n:link-mill-moduledefs: https://github.com/com-lihaoyi/mill-moduledefs\n// customize appearance on GitHub\n:idprefix:\n:idseparator: -\n:toc:\n:toc-placement: preamble\nifndef::env-github[]\n:icons: font\nendif::[]\nifdef::env-github[]\n:caution-caption: :fire:\n:important-caption: :exclamation:\n:note-caption: :paperclip:\n:tip-caption: :bulb:\n:warning-caption: :warning:\nendif::[]\n\nlink:changelog.adoc[image:https://img.shields.io/maven-central/v/com.lihaoyi/mill-dist?label=stable-version\u0026versionSuffix={mill-stable-version}[d]]\nhttps://central.sonatype.com/artifact/com.lihaoyi/mill-dist[image:https://img.shields.io/maven-central/v/com.lihaoyi/mill-dist?label=unstable-dev-version[Maven Central Version]]\n\nMill is a build tool that tries to improve upon the tools traditionally used\nin the JVM ecosystem:\n\n* Mill builds the same Java project https://mill-build.org/mill/comparisons/why-mill.html#_performance[3-6x\n faster than Maven or Gradle] due to aggressive caching \u0026 parallelism\n\n* Mill's rich feature set means\nhttps://mill-build.org/mill/comparisons/why-mill.html#_rich_builtins[less fiddling with plugins],\nsince everything needed for development is built in\n\n* Mill builds are https://mill-build.org/mill/comparisons/why-mill.html#_gradle_ide_support[easily explorable in your IDE],\nletting you work on them without constantly googling for help\n\nAlthough the Java compiler is very fast and the Java language is easy to learn,\nJVM build tools have a reputation for being sluggish and confusing. Mill tries to\noffer a better alternative, its https://mill-build.org/mill/comparisons/why-mill.html#_object_oriented_builds[object-oriented builds]\nreducing the learning curve and letting your build system take\nfull advantage of the Java platform's performance, usability, and IDE support.\n\n\nIf you want to use Mill in your own projects, check out our documentation:\n\n* {link-current-doc-site}[Documentation]\n\nHere is some quick example, so that you can imagine how it looks:\n\n[source,scala,subs=\"verbatim,attributes\"]\n----\npackage build\nimport mill._, javalib.*\n\nobject foo extends JavaModule {\n  def mvnDeps = Seq(\n    mvn\"net.sourceforge.argparse4j:argparse4j:0.9.0\",\n    mvn\"org.thymeleaf:thymeleaf:3.1.1.RELEASE\"\n  )\n\n  object test extends JavaTests, TestModule.Junit4 {\n    def mvnDeps = Seq(\n      mvn\"com.google.guava:guava:33.3.0-jre\"\n    )\n  }\n}\n----\n\n[source,console]\n----\n\n\u003e ./mill foo.compile # compile sources into classfiles\n...\ncompiling 1 Java source to...\n\n\u003e ./mill foo.run --text hello\n\u003ch1\u003ehello\u003c/h1\u003e\n\n\u003e ./mill foo.test\n...\nTest foo.FooTest.testEscaping finished, ...\nTest foo.FooTest.testSimple finished, ...\nTest run foo.FooTest finished: 0 failed, 0 ignored, 2 total, ...\n\n----\n\n* link:developer.adoc[Developer Documentation]\n* link:changelog.adoc[Changelog]\n\n\n","funding_links":["https://github.com/sponsors/lihaoyi","https://github.com/sponsors/lefou"],"categories":["Scala","构建工具","Scala Tools, Libraries, and Frameworks","Table of Contents","Build Tools"],"sub_categories":["JavaScript Libraries for Machine Learning","Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcom-lihaoyi%2Fmill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcom-lihaoyi%2Fmill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcom-lihaoyi%2Fmill/lists"}