Skip to content

Commit

Permalink
Grade wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
pron committed Nov 9, 2014
1 parent 30ff330 commit f7fb13d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -128,7 +128,7 @@ tasks.withType(JavaExec) {
}

task wrapper(type: Wrapper) {
gradleVersion = '1.11'
gradleVersion = '2.1'
}

task classpath << {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Mon Mar 24 17:14:51 IST 2014
#Sun Nov 09 14:32:02 IST 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip
12 changes: 12 additions & 0 deletions runMain.sh
@@ -0,0 +1,12 @@
#!/bin/sh
if [ "$#" == "0" ]; then
echo "Usage: $0 className arg0 args1 ... argN"
exit 1
fi
main=$1
shift
if [ "$#" == "0" ]; then
./gradlew -q run -PmainClass=$main
else
./gradlew -q run -PmainClass=$main -Pargs="$*"
fi

0 comments on commit f7fb13d

Please sign in to comment.