{"id":18759275,"url":"https://github.com/mariussoutier/sbt-unpack","last_synced_at":"2025-08-25T21:14:06.194Z","repository":{"id":139856969,"uuid":"106017654","full_name":"mariussoutier/sbt-unpack","owner":"mariussoutier","description":"sbt unpack plugin","archived":false,"fork":false,"pushed_at":"2018-03-14T13:25:00.000Z","size":14,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T16:40:53.917Z","etag":null,"topics":["sbt","sbt-plugin","scala","unzip"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariussoutier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2017-10-06T15:01:38.000Z","updated_at":"2020-11-20T02:05:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"99a1be4f-2067-45a5-81cc-2a610fc6be36","html_url":"https://github.com/mariussoutier/sbt-unpack","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mariussoutier/sbt-unpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariussoutier%2Fsbt-unpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariussoutier%2Fsbt-unpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariussoutier%2Fsbt-unpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariussoutier%2Fsbt-unpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariussoutier","download_url":"https://codeload.github.com/mariussoutier/sbt-unpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariussoutier%2Fsbt-unpack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263226889,"owners_count":23433802,"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":["sbt","sbt-plugin","scala","unzip"],"created_at":"2024-11-07T17:51:06.266Z","updated_at":"2025-07-02T22:33:18.577Z","avatar_url":"https://github.com/mariussoutier.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-unpack\n\nSimple plugin to unpack JARs in your project. Loosely based on ideas presented in Josh Suereth's book \n[sbt in Action](https://www.manning.com/books/sbt-in-action) \n[Chapter 7](https://github.com/jsuereth/sbt-in-action-examples/blob/master/chapter7/website/build.sbt) \nand packaged into an auto plugin.\n\n## Installation\n\nAdd this to `plugins.sbt`:\n\n```\naddSbtPlugin(\"com.mariussoutier.sbt\" % \"sbt-unpack\" % \"0.9.5\")\n```\n\n## Usage\n\nFirst, enable the plugin on the project you want to use it with.\n\n```scala\nlazy val root = project(...)\n  .enablePlugins(com.mariussoutier.sbt.UnpackPlugin)\n\n```\n\nThen run `unpackJars` manually or execute it automatically by adding to a generator, for example:\n\n```scala\nimport com.mariussoutier.sbt.UnpackKeys\n// Unpacks whenever you compile\nsourceGenerators in Compile += UnpackKeys.unpackJars\n// Or if you want to execute another task after unpacking\nsourceGenerators in Compile += Def.sequential(UnpackKeys.unpackJars, ...).taskValue\n```\n\n## Configuration\n\n| Key                         | Description                                                   |\n| --------------------------- | ------------------------------------------------------------- |\n| `dependenciesJarDirectory`  | Location of the unpacked dependency JARs                      | \n| `dependencyFilter`          | Which dependencies to unpack                                  | \n| `fileExcludeFilter`         | Files inside the JARs that should be excluded while unpacking |\n\nExample:\n\n```scala\nimport com.mariussoutier.sbt.UnpackKeys\nimport NameFilter._\n.settings(\n  UnpackKeys.dependencyFilter := { (fileName: String) =\u003e fileName.startsWith(\"example-\") },\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariussoutier%2Fsbt-unpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariussoutier%2Fsbt-unpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariussoutier%2Fsbt-unpack/lists"}