Merge pull request #83 from samwilson/setuptests · JavaLeaks/Flickr4Java@e2e629b · GitHub
Skip to content

Commit e2e629b

Browse files
author
Darren Greaves
committed
Merge pull request boncey#83 from samwilson/setuptests
Some information, and an interactive tool, for setting up the integration tests.
2 parents 090c7e0 + 2c9bff3 commit e2e629b

4 files changed

Lines changed: 115 additions & 17 deletions

File tree

Flickr4Java/BUILDING.md

Lines changed: 40 additions & 0 deletions

Flickr4Java/BUILDING.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

Flickr4Java/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apply plugin: 'java'
22
apply plugin: 'eclipse'
33
apply plugin: 'idea'
44
apply plugin: 'maven'
5+
apply plugin: 'application'
56

67
version = '2.6'
78
group = 'com.flickr4java.flickr'
@@ -32,6 +33,12 @@ dependencies {
3233
testCompile group: 'junit', name: 'junit', version: '4.11'
3334
}
3435

36+
task setupTests(type:JavaExec, dependsOn:classes) {
37+
standardInput = System.in
38+
main = 'com.flickr4java.flickr.test.Setup'
39+
classpath = sourceSets.test.runtimeClasspath
40+
}
41+
3542
//create a javadoc jar for maven repo
3643
task javadocJar(type: Jar, dependsOn: javadoc) {
3744
classifier = 'javadoc'
Lines changed: 68 additions & 0 deletions

0 commit comments

Comments
 (0)