mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
d69c923bad
1. This change introduces the current SWT builds that exist in Maven; removing the need to locate and capture the JAR files. 2. The current SWT change is to capture the new Mac OS X aarch64 builds ("Apple Silicon"). 3. The current version of SWT, however, requires Java 11. 4. Due to the complexity of the prior Gradle build, it was restructured.
29 lines
624 B
Groovy
29 lines
624 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.6.1'
|
|
id 'application'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':lib:ac-swt-common')
|
|
|
|
implementation("org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64:$swtVersion") {
|
|
exclude group: "org.eclipse.platform", module: "org.eclipse.swt"
|
|
}
|
|
}
|
|
|
|
application {
|
|
mainClass = 'com.webcodepro.applecommander.ui.swt.SwtAppleCommander'
|
|
}
|
|
|
|
bootJar {
|
|
manifest {
|
|
attributes 'Implementation-Title': 'AppleCommander',
|
|
'Implementation-Version': archiveVersion
|
|
}
|
|
from('LICENSE')
|
|
}
|