mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
38 lines
891 B
Groovy
38 lines
891 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version "$springBoot"
|
|
id 'application'
|
|
}
|
|
|
|
sourceCompatibility = 11
|
|
targetCompatibility = 11
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
// Raspberry Pi 32-bit library
|
|
dirs project(':').projectDir.absolutePath + "/swt-lib"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':lib:ac-swt-common')
|
|
|
|
implementation("org.eclipse.platform:org.eclipse.swt.gtk.linux.arm:$piSwtVersion") {
|
|
exclude group: "org.eclipse.platform", module: "org.eclipse.swt"
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = 'com.webcodepro.applecommander.ui.swt.SwtAppleCommander'
|
|
}
|
|
|
|
bootJar {
|
|
archiveBaseName = 'AppleCommander'
|
|
archiveAppendix = 'linux-arm'
|
|
manifest {
|
|
attributes 'Implementation-Title': 'AppleCommander (Linux Arm)',
|
|
'Implementation-Version': archiveVersion
|
|
}
|
|
from('../../LICENSE')
|
|
}
|