buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.2'
}
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '1.2.2'
id 'edu.sc.seis.macAppBundle' version '2.1.3'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.5.2'
mainClassName = 'org.fenix.llanfair.Llanfair'
repositories {
mavenCentral()
compile fileTree(dir: 'lib', include: ['*.jar'])
compile 'com.1stleg:jnativehook:2.0.2'
compile 'com.thoughtworks.xstream:xstream:1.4.4'
macAppBundle {
appName = 'Llanfair'
bundleJRE = false
javaProperties.put('apple.laf.useScreenMenuBar', 'true')
icon = 'Llanfair.icns'