The Gradle OS Package plugin builds native Linux packages (RPM and DEB) directly from your project, enabling repeatable, policy-compliant server distributions. It lets you define metadata like package name, version, dependencies, and maintainers, then map files from your build into filesystem locations with ownership and permissions. Pre-, post-install, and removal scripts are supported so services can be registered, caches warmed, or config migrated during upgrades. The plugin fits naturally in multi-module builds and CI, producing artifacts that ops teams can promote through repositories like APT or YUM. It’s widely used to package JVM applications along with their configs, systemd units, and logs into a single deployable unit. By codifying packaging alongside source, it closes the gap between dev and ops and makes releases auditable and consistent.

Features

  • Creates RPM and Debian (DEB) packages via Gradle tasks
  • Uses Gradle-style CopySpec for defining package content
  • Pure Java implementation; no external native tools required
  • Part of the Nebula plugin ecosystem with structured layout
  • Latest version 12.1.0
  • Simplifies creating system-level installer artifacts for CI/CD

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

Apache License V2.0

Follow Gradle Ospackage Plugin

Gradle Ospackage Plugin Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gradle Ospackage Plugin!

Additional Project Details

Operating Systems

Linux

Programming Language

Groovy

Related Categories

Groovy Build Tools

Registered

2025-09-03