-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,16 @@ | ||
A [Gradle](http://www.gradle.org) Plugin to create a Mac OSX .app application and dmg based on the project. | ||
|
||
**Version 2.1.6 released 4 April 2016.** | ||
**Version 2.1.7 released 21 July 2017.** | ||
|
||
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](https://github.com/crotwell/gradle-macappbundle/wiki/Intro) 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" | ||
id "edu.sc.seis.macAppBundle" version "2.1.7" | ||
} | ||
``` | ||
|
||
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" | ||
} | ||
} | ||
``` |