Skip to content

Commit

Permalink
Add Gradle tasks for making Mac .app files
Browse files Browse the repository at this point in the history
  • Loading branch information
James authored and James committed May 5, 2019
1 parent fa1f365 commit e3c8ffe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id "com.github.johnrengelman.shadow" version "5.0.0"
id 'java'
id "edu.sc.seis.launch4j" version "2.4.5"
id "edu.sc.seis.macAppBundle" version "2.3.0"
}

group 'org.idiosapps'
Expand Down Expand Up @@ -52,4 +53,8 @@ launch4j {
jreMinVersion = "12.0.1"
messagesJreVersionError = "Please install JDK12 from https://adoptopenjdk.net/releases.html?variant=openjdk12"
// https://github.com/TheBoegl/gradle-launch4j for more options!
}

macAppBundle {
mainClassName = 'org.idiosapps.Main'
}

0 comments on commit e3c8ffe

Please sign in to comment.