2021-12-20 03:19:33 +00:00
|
|
|
plugins {
|
2022-01-04 00:24:39 +00:00
|
|
|
id 'org.springframework.boot' version "$springBoot"
|
2021-12-20 03:19:33 +00:00
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
2022-01-04 00:24:39 +00:00
|
|
|
sourceCompatibility = 11
|
|
|
|
targetCompatibility = 11
|
|
|
|
|
2021-12-20 03:19:33 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':lib:ac-swt-common')
|
|
|
|
|
|
|
|
implementation("org.eclipse.platform:org.eclipse.swt.cocoa.macosx.x86_64:$swtVersion") {
|
|
|
|
exclude group: "org.eclipse.platform", module: "org.eclipse.swt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClass = 'com.webcodepro.applecommander.ui.swt.SwtAppleCommander'
|
|
|
|
}
|
|
|
|
|
|
|
|
bootJar {
|
2021-12-22 01:36:51 +00:00
|
|
|
archiveBaseName = 'AppleCommander'
|
|
|
|
archiveAppendix = 'macosx-x86_64'
|
2021-12-20 03:19:33 +00:00
|
|
|
manifest {
|
2021-12-20 04:27:40 +00:00
|
|
|
attributes 'Implementation-Title': 'AppleCommander (Mac)',
|
2021-12-20 03:19:33 +00:00
|
|
|
'Implementation-Version': archiveVersion
|
|
|
|
}
|
2021-12-20 04:27:40 +00:00
|
|
|
from('../../LICENSE')
|
2021-12-20 03:19:33 +00:00
|
|
|
}
|