AppleCommander/app/ac-swt-win32-x86_64/build.gradle
Rob Greene d69c923bad Multiple changes.
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.
2021-12-19 21:19:33 -06:00

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')
}