File tree Expand file tree Collapse file tree 6 files changed +8
-4
lines changed
Expand file tree Collapse file tree 6 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ dependencies {
5252 testCompile ' org.mockito:mockito-core:1.8.5'
5353}
5454
55+ task wrapper (type : Wrapper ) {
56+ gradleVersion = ' 4.10.2' // version required
57+ }
58+
5559task sourcesJar (type : Jar ) {
5660 classifier = ' sources'
5761 from sourceSets. main. allSource
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
66 ./gradlew build
77elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_TAG " != " " ]; then
88 echo -e ' Build Branch for Release => Branch [' $TRAVIS_BRANCH ' ] Tag [' $TRAVIS_TAG ' ]'
9- ./gradlew -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " build bintrayUpload -PreleaseMode=full --stacktrace --info
9+ ./gradlew -x test - PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " build bintrayUpload -PreleaseMode=full --stacktrace --info
1010else
1111 echo -e ' WARN: Should not be here => Branch [' $TRAVIS_BRANCH ' ] Tag [' $TRAVIS_TAG ' ] Pull Request [' $TRAVIS_PULL_REQUEST ' ]'
1212 ./gradlew build
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-5.0-rc-1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.10.2 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ APP_NAME="Gradle"
2828APP_BASE_NAME=` basename " $0 " `
2929
3030# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31- DEFAULT_JVM_OPTS=' "-Xmx64m" '
31+ DEFAULT_JVM_OPTS=" "
3232
3333# Use the maximum available, or set MAX_FD != -1 to use that value.
3434MAX_FD=" maximum"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
1414set APP_HOME = %DIRNAME%
1515
1616@ rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17- set DEFAULT_JVM_OPTS = " -Xmx64m "
17+ set DEFAULT_JVM_OPTS =
1818
1919@ rem Find java.exe
2020if defined JAVA_HOME goto findJavaFromJavaHome
You can’t perform that action at this time.
0 commit comments