2
compile project(":trident")
3
testCompile group: 'com.jgoodies', name: 'forms', version: '1.2.0'
4
testCompile group: 'junit', name: 'junit', version: '4.3.1'
5
testCompile group: 'org.easytesting', name: 'fest-assert', version: '1.2'
6
testCompile group: 'org.easytesting', name: 'fest-reflect', version: '1.2'
7
testCompile group: 'org.easytesting', name: 'fest-swing', version: '1.2.1'
8
testCompile group: 'org.easytesting', name: 'fest-swing-junit', version: '1.2.1'
9
testCompile group: 'org.easytesting', name: 'fest-swing-junit-4.3.1', version: '1.2.1'
18
// if we are headless, don't run our tests
19
enabled = !Boolean.getBoolean("java.awt.headless")
25
"Flamingo-Version": version,
26
"Flamingo-VersionName": versionKey,
31
task testJar(type: Jar) {
34
from sourceSets.test.output
38
"Flamingo-Version": version,
39
"Flamingo-VersionName": versionKey,
53
configurePOM(repositories.mavenInstaller.pom)
56
private def configurePOM(def pom) {
60
description "A fork of @kirilcool's flamingo project"
61
url "http://insubstantial.github.com/insubstantial/flamingo/"
64
name 'The BSD License'
65
url 'http://www.opensource.org/licenses/bsd-license.php'
70
// deal with a gradle bug where transitive=false is not passed into the generated POM
71
pom.whenConfigured {cpom ->
72
cpom.dependencies.each {dep ->
73
switch (dep.artifactId) {
75
dep.classifier = 'swing'
82
task testRibbon(type: JavaExec) {
83
main = 'test.ribbon.BasicCheckRibbon'
84
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
85
classpath = sourceSets.test.runtimeClasspath
88
task testRibbonRTL(type: JavaExec) {
89
main = 'test.ribbon.BasicCheckRibbon'
90
debug = Boolean.valueOf(System.getProperty('debug', 'false'))
91
classpath = sourceSets.test.runtimeClasspath
92
systemProperty "user.language", "iw"