Skip to content

Automatically exported from code.google.com/p/gradle-macappbundle

License

Notifications You must be signed in to change notification settings

mucommander/gradle-macappbundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Gradle Plugin to create a Mac OSX .app application and dmg based on the project.

Version 2.1.6 released 4 April 2016.

Now available via the Gradle Plugin Portal. Please see: http://plugins.gradle.org/plugin/edu.sc.seis.macAppBundle

To add to a gradle project, add this to build.gradle and run gradle createApp or gradle createDmg. The first should work on most systems, the second will only work on Mac OSX as it uses hdiutils which is a Mac-only application. Also see the Wiki for more information.

As of version 1.0.9, the groupId and artifactId changed to edu.sc.seis.gradle and macappbundle.

For gradle 2.1 or later:

plugins {
  id "edu.sc.seis.macAppBundle" version "2.1.6"
}

or for earlier versions of Gradle (which may no longer work, but... ):


apply plugin: 'edu.sc.seis.macAppBundle'

macAppBundle {
    mainClassName = "com.example.myApp.Start"
}

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.edu.sc.seis:macAppBundle:2.1.5"
  }
}

About

Automatically exported from code.google.com/p/gradle-macappbundle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 100.0%