mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2025-03-11 05:34:51 +00:00
35 lines
855 B
Groovy
35 lines
855 B
Groovy
|
|
// Apply the java plugin to add support for Java
|
|
apply plugin: 'java'
|
|
|
|
// Apply the application plugin to add support for building an application
|
|
apply plugin: 'application'
|
|
|
|
// Define the main class for the application
|
|
mainClassName = 'com.webcodepro.applecommander.ui.AppleCommander'
|
|
|
|
// In this section you declare where to find the dependencies of your project
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "http://maven-eclipse.github.io/maven"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.eclipse.swt:org.eclipse.swt.cocoa.macosx.x86_64:$swtVersion"
|
|
|
|
compileOnly "org.apache.ant:ant:$antVersion"
|
|
|
|
testCompile "junit:junit:$junitVersion"
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Main-Class': "$mainClassName"
|
|
}
|
|
doFirst {
|
|
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
}
|
|
}
|