Skip to content

Commit

Permalink
Plugin-plugin 13.2.0 and multijdk support
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Nov 25, 2019
1 parent 0c4e88d commit 6e4a3bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
language: java
sudo: false
jdk: openjdk8
matrix:
include:
- jdk: openjdk8
env: GRADLE_PUBLISH=true
- jdk: openjdk11
env: GRADLE_PUBLISH=false
install: true
script: "./gradle/buildViaTravis.sh"
cache:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/
plugins {
id 'nebula.plugin-plugin' version '13.1.1'
id 'nebula.plugin-plugin' version '13.2.0'
}

description = 'Allows projects to leave off version numbers in dependencies section and have versions recommended by other sources'
Expand Down
2 changes: 1 addition & 1 deletion gradle/buildViaTravis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SWITCHES="--info --stacktrace"

GRADLE_VERSION=$(./gradlew -version | grep Gradle | cut -d ' ' -f 2)

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$GRADLE_PUBLISH" == "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gradlew build $SWITCHES
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
Expand Down

0 comments on commit 6e4a3bf

Please sign in to comment.