Noticed new Gradle projects have a newer structure; making changes to

reflect this. #36
This commit is contained in:
Rob Greene 2019-10-06 13:03:43 -05:00
parent 3b31a9385d
commit 668547ad25

View File

@ -1,3 +1,10 @@
plugins {
id 'java'
id 'application'
id 'maven'
id 'signing'
}
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven {
@ -6,14 +13,14 @@ repositories {
} }
} }
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'maven'
apply plugin: 'signing'
mainClassName = 'com.webcodepro.applecommander.ui.AppleCommander' mainClassName = 'com.webcodepro.applecommander.ui.AppleCommander'
version "${version}" version "${version}"
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
test { test {
String swtDependency String swtDependency
switch (System.getProperty('os.name').toLowerCase().split()[0]) { switch (System.getProperty('os.name').toLowerCase().split()[0]) {