-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (43 loc) · 1.41 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import io.github.fvarrui.javapackager.gradle.PackageTask
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
buildscript {
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'io.github.fvarrui:javapackager:1.6.2'
}
}
apply plugin: 'io.github.fvarrui.javapackager.plugin'
apply plugin: 'java'
dependencies {
implementation 'com.github.Dansoftowner:jSystemThemeDetector:3.8'
implementation 'com.github.idontusenumbers:jEISCP:4a564523fe'
implementation 'com.github.blackears:svgSalamander:v1.1.3'
implementation 'de.jangassen:jfa:1.2.0'
}
task packageMyApp(type: PackageTask, dependsOn: build) {
// mandatory
mainClass = 'net.obive.onkyoremote.MacOnkyoRemote'
// optional
bundleJre = false
generateInstaller = false
administratorRequired = false
platform = 'mac'
organizationName = "Obive.net"
organizationUrl = "https://obive.net"
macConfig {
appId = "net.obive.onkyoremote.OnkyoRemote"
icnsFile = file("src/main/resources/icon.icns")
generateDmg = false
generatePkg = false
relocateJar = true
version = "1.2.1"
// will use info.plist template in ./assets/mac (because ./assets is the default value for assetsDir)
// will use icon.icns from ./assets/mac (because ./assets is the default value for assetsDir)
}
}