diff --git a/.travis.yml b/.travis.yml index 4e6d77a..7e5ccc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,8 @@ install: true script: "./gradle/buildViaTravis.sh" cache: directories: - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ -before_install: -- test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_6efe1f7a551b_key -iv $encrypted_6efe1f7a551b_iv - -in gradle.properties.enc -out gradle.properties -d || true + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ after_success: - "./gradlew jacocoTestReport coveralls" notifications: @@ -19,3 +16,11 @@ notifications: on_success: change on_failure: always on_start: never +env: + global: + - secure: fC05kBUVJmC0Vl1z93mc0/4z/v9MCDY6pOCjBU+6xGVWvRJRrWjQhvvMubhif91zs6SuMHpsIzyWXCaRdrBhcenEfKCPRqXeOSzuIIR008SSmpgLJ6J39Xi4kdCGRzxYL+YWrmLAxhSI0avq6qtSqgLvsSFexn7fDLahG9nAAv0= + - secure: sWGXiFPDf9IUp6WK2hkMIeNxDhbq9RCUeD/1EqHmnTDPY3VK/p5W60gdoOYf/H0pS+is+c66tkFo6SDzLsCKJTCsI8FGKbr6c7paROIfSl7ejwBTfwWWa4NdzQaUAdROhnBnoU8f+ENDmQ9m71/WIhPYcnhgGubY4vMo6OJDLek= + - secure: R+QcIinJKNRLa+W6nMxE652VXgbl+vluVvz1t7fSu28rg2BAM7hnZ5wf4yzhvZX72K3PQBWFdRe0RDd0RKAuq6rbW1lo3Zb4BBN7ng/qqbUrg/eeZLMIDLnSFKTOKL44D1Rd8Nya64HCMl0wdkB7pnPhIplPVyj2C5pIQsvNAzc= + - secure: JtQXxygC05zYog6hVwTAT8fpVkKNtA4yrQICh0jd2bgD4oghiDrySgqHMCb5S8FPe17sWx79xyJc2y7vEMlT1XeKlp0j0JOEzz95mWuOP4/T3m20VdoxE6GegteDHnGBgM3a9pnYPTI64/AWWnaQ8Ove3zBLVHZfUzf2Gh+6mPI= + - secure: BBGjawyErfLiNUcZn7MgvE0NkcVSgu9USNKl7pQS4uKdtBgctbbvmvZpbhGM3pPFUO/BgZAK1w2JZa1R9kzicGOBYYo//xBtJSgqWwVY4r3uhVpX1wbhrNdG4T0TaRNkfbLfphNMa0sxjZ8rAEtagCvsjSAA/P9i0jwhCplhLjs= + - secure: EVyW5fQEWjS/3KBK+w67SpgPjDJHOpyBNxlTwXHyzNjghszIJ+FdiiDIL3FbBk/PpdjASeqRm3GhUO4UDCb84hHCZunhEddTPL4jIW2STxRhGNw8s/6U7aD+YBdKqAC2MR74IsGrrYfQg2JTHQ6WET9uHY3aLHH7DSfxjMtpajE= diff --git a/build.gradle b/build.gradle index 1535e1d..469b91c 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ plugins { - id 'nebula.plugin-plugin' version '11.2.1' + id 'nebula.plugin-plugin' version '11.2.12' } description 'Gradle plugin collect and provide information about the environment' diff --git a/gradle.properties.enc b/gradle.properties.enc deleted file mode 100644 index 1cb01f2..0000000 Binary files a/gradle.properties.enc and /dev/null differ diff --git a/gradle/buildViaTravis.sh b/gradle/buildViaTravis.sh index 43af03a..d272bc8 100755 --- a/gradle/buildViaTravis.sh +++ b/gradle/buildViaTravis.sh @@ -10,15 +10,15 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./gradlew build $SWITCHES elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']' - ./gradlew build $SWITCHES + ./gradlew build $SWITCHES elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']' case "$TRAVIS_TAG" in *-rc\.*) - ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true candidate $SWITCHES + ./gradlew -Prelease.travisci=true -Psonatype.username=$sonatypeUsername -Psonatype.password=$sonatypePassword -Pbintray.user=$bintrayUser -Pbintray.apiKey=$bintrayKey -Prelease.useLastTag=true candidate $SWITCHES ;; *) - ./gradlew -Prelease.travisci=true -Prelease.useLastTag=true final $SWITCHES + ./gradlew -Prelease.travisci=true -Dgradle.publish.key=$gradlePluginPublishKey -Dgradle.publish.secret=$gradlePluginPublishSecret -Psonatype.username=$sonatypeUsername -Psonatype.password=$sonatypePassword -Pbintray.user=$bintrayUser -Pbintray.apiKey=$bintrayKey -Prelease.useLastTag=true final $SWITCHES ;; esac else