2013-09-22 12:18:37 +02:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// plugins //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
apply plugin:'application'
|
2013-09-29 12:56:04 +02:00
|
|
|
apply plugin: 'idea'
|
2013-09-22 12:18:37 +02:00
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// settings //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
2013-09-29 12:56:04 +02:00
|
|
|
version = 0.3
|
2013-09-22 12:18:37 +02:00
|
|
|
sourceCompatibility = 1.8
|
|
|
|
|
mainClassName = 'de.frosch95.geofrogger.fx.GeoFroggerFXMain'
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// add main class to MANIFEST.FM //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
jar {
|
|
|
|
|
manifest {
|
|
|
|
|
attributes 'Main-Class': mainClassName
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// change the src default //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
sourceSets {
|
|
|
|
|
main {
|
|
|
|
|
java {
|
|
|
|
|
srcDirs = ['src']
|
|
|
|
|
}
|
|
|
|
|
resources {
|
2013-09-27 20:30:35 +02:00
|
|
|
srcDirs = ['src','resources']
|
2013-09-22 12:18:37 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// usage of maven central and sonatype repository //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
|
|
|
|
maven {
|
|
|
|
|
url "https://oss.sonatype.org/content/repositories/snapshots"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// dependecies //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
dependencies {
|
|
|
|
|
//compile group: 'org.jfxtras', name: 'jfxtras-labs', version: '8.0-r1-SNAPSHOT' this is not an actual version and the map part is missing
|
2013-09-29 12:38:07 +02:00
|
|
|
compile files('lib/JFXtras/jfxtras-labs-8.0-r1-SNAPSHOT.jar', 'lib/ScenicView/ScenicView.jar')
|
2013-09-22 12:18:37 +02:00
|
|
|
compile group: 'org.jdom', name: 'jdom2', version: '2.0.5'
|
2013-12-29 22:41:49 +01:00
|
|
|
compile group: 'org.controlsfx', name: 'controlsfx', version: '8.0.3'
|
2013-09-22 12:18:37 +02:00
|
|
|
compile group: 'com.h2database', name: 'h2', version: '1.3.173'
|
|
|
|
|
compile group: 'org.eclipse.persistence', name: 'eclipselink', version: '2.5.0'
|
2013-12-29 22:41:49 +01:00
|
|
|
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.2.1'
|
2013-09-22 12:18:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// tasks //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
task wrapper(type: Wrapper) {
|
|
|
|
|
gradleVersion = '1.7'
|
|
|
|
|
}
|