All Projects β†’ i-net-software β†’ SetupBuilder

i-net-software / SetupBuilder

Licence: other
Gradle plugin for building setups for different platforms.

Programming Languages

java
68154 projects - #9 most used programming language
objective c
16641 projects - #2 most used programming language
VBScript
123 projects
shell
77523 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to SetupBuilder

Javapackager
πŸ“¦ Gradle/Maven plugin to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.
Stars: ✭ 285 (+280%)
Mutual labels:  gradle, installer, deb, rpm, gradle-plugin
Electron Builder
A complete solution to package and build a ready for distribution Electron app with β€œauto update” support out of the box
Stars: ✭ 11,653 (+15437.33%)
Mutual labels:  deb, rpm, dmg, msi
st2-packages
StackStorm deb/rpm packages (automated docker build pipeline)
Stars: ✭ 25 (-66.67%)
Mutual labels:  deb, rpm
LAMPP-Manager
A simple LAMPP manager designed to automate all the work.
Stars: ✭ 117 (+56%)
Mutual labels:  deb, rpm
epm
Software packaging tool.
Stars: ✭ 19 (-74.67%)
Mutual labels:  installer, rpm
spotify-deb-install
MOVED: https://gitlab.com/q3aql/spotify-deb-install
Stars: ✭ 15 (-80%)
Mutual labels:  installer, deb
Boostnote-packages
Repo containing .rpm, .deb and Boostnote app folder
Stars: ✭ 31 (-58.67%)
Mutual labels:  deb, rpm
package-build
A toolset for building system packages using Docker and fpm-cookery
Stars: ✭ 36 (-52%)
Mutual labels:  deb, rpm
Gradle Launch4j
A gradle-plugin to create windows executables with launch4j
Stars: ✭ 177 (+136%)
Mutual labels:  gradle, gradle-plugin
gatling-gradle-plugin-demo
Showcase of the Gatling Plugin for Gradle
Stars: ✭ 17 (-77.33%)
Mutual labels:  gradle, gradle-plugin
gradle-cleaner-intellij-plugin
Force clear delaying & no longer needed Gradle tasks.
Stars: ✭ 26 (-65.33%)
Mutual labels:  gradle, gradle-plugin
sphinx-gradle-plugin
Sphinx site generation plugin for Gradle
Stars: ✭ 19 (-74.67%)
Mutual labels:  gradle, gradle-plugin
Badass Jlink Plugin
Create a custom runtime image of your modular application
Stars: ✭ 216 (+188%)
Mutual labels:  gradle, gradle-plugin
Gradle Testsets Plugin
A plugin for the Gradle build system that allows specifying test sets (like integration or acceptance tests).
Stars: ✭ 182 (+142.67%)
Mutual labels:  gradle, gradle-plugin
deezer-linux
An universal linux port of deezer, supporting both Flatpak and AppImage
Stars: ✭ 141 (+88%)
Mutual labels:  deb, rpm
Maven Git Versioning Extension
This extension will virtually set project versions, based on current git branch or tag.
Stars: ✭ 178 (+137.33%)
Mutual labels:  gradle, gradle-plugin
foreman-packaging
Packaging files (RPMs, debs) for Foreman and its dependencies
Stars: ✭ 38 (-49.33%)
Mutual labels:  deb, rpm
gradle-build-info-plugin
Gradle plugin to include build information such as Git commit ID to your JAR. It can be used to show Git commit information with Spring Boot Actuator.
Stars: ✭ 33 (-56%)
Mutual labels:  gradle, gradle-plugin
Versioning
Gradle plug-in to generate version information from the SCM branch (Git or Svn)
Stars: ✭ 157 (+109.33%)
Mutual labels:  gradle, gradle-plugin
Click Debounce
Using ASM to handle Android's click debounce, specially a quick double click.
Stars: ✭ 175 (+133.33%)
Mutual labels:  gradle, gradle-plugin

Gradle Setup Builder Plugin

Build Status License

The Setup Builder is a plugin for Gradle which can create a native setups for different platforms like Windows, Linux and OSX. The output is a *.msi, a *.deb, a *.rpm or a *.dmg file. The target is an installer for Java applications.

System Requirements

Platform Requirement
all Java 8 or higher. Gradle must run with Java 8
Windows Wix Toolset or WixEdit must be installed
Linux Lintian, FakeRoot
on Ubuntu: apt-get install lintian fakeroot
Linux dpkg for creating Debian packages: apt-get install dpkg
Linux rpm for creating RPM packages: apt-get install rpm

Plugin and Gradle Version

Plugin Version Gradle Version
<= 1.5 2.3 - 2.11
1.6 2.12 - 2.13
1.7 2.14
1.8, 3.0.x 3.0
3.1.x 3.1 - 3.3
3.4.x 3.4 - 4.3
4.5.x >= 4.5

There is a file SetupBuilderVersion.gradle to export the required version of SetupBuilder depending on the Gradle version. It can be used to automatically obtain the correct SetupBuilder version.

It can be used as followed:

buildscript {
    repositories {
        maven {
            url uri('https://plugins.gradle.org/m2/')
        }
    }
    dependencies {
        apply from: 'https://raw.githubusercontent.com/i-net-software/SetupBuilder/master/scripts/SetupBuilderVersion.gradle'
        classpath 'gradle.plugin.de.inetsoftware:SetupBuilder:' + setupBuilderVersion()
    }
}
apply plugin: 'de.inetsoftware.setupbuilder'

Tasks

The plugin adds the following tasks:

  • msi
  • deb
  • rpm
  • dmg

For more information check the wiki.

Sample Usage

Base Sample

buildscript {
    repositories {
        maven {
            url uri('https://plugins.gradle.org/m2/')
        }
    }
    dependencies {
        apply from: 'https://raw.githubusercontent.com/i-net-software/SetupBuilder/master/scripts/SetupBuilderVersion.gradle'
        classpath 'gradle.plugin.de.inetsoftware:SetupBuilder:' + setupBuilderVersion()
    }
}
apply plugin: 'de.inetsoftware.setupbuilder'

setupBuilder {
    vendor = 'i-net software'
    application = "SetupBuilder Plugin"
    appIdentifier = "SetupBuilder"
    version = '1.0'
    licenseFile = 'license.txt'
    // icons in different sizes for different usage. you can also use a single *.ico or *.icns file
    icons = ['icon16.png', 'icon32.png', 'icon48.png', 'icon128.png']
    // all files for all platforms
    from( 'source' ) {
        include 'files/*.jar'
    }
    bundleJre = 1.8
}

msi {
    // files only for the Windows platform
    from( 'windows' ) {
        include 'foo.exe'
        rename { 'bar.exe' }
    }
}

More samples can be found in the testBuilds folder of the project.

More properties can be found in the sources of setupBuilder, msi, deb, rpm and dmg.

Zip Sample

Create a zip file with the same files define in setupBuilder extension.

...
setupBuilder {
    ...
}
task zip(type: Zip) {
    with setupBuilder
    doLast {
        artifacts {
            archives zip
        }
    }
}

License

Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].