diff --git a/.travis.yml b/.travis.yml index 949b9378d..b3ac49f86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,6 @@ sudo: false jdk: - oraclejdk8 -addons: - ssh_known_hosts: updates.jmonkeyengine.org - before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock @@ -45,7 +42,6 @@ deploy: before_install: - git fetch --unshallow - - "[ $TRAVIS_PULL_REQUEST == 'false' ] && openssl aes-256-cbc -K $encrypted_a1949b55824a_key -iv $encrypted_a1949b55824a_iv -in private/www-updater.key.enc -out private/www-updater.key -d || :" # before_install: # required libs for android build tools @@ -58,5 +54,4 @@ before_install: # export ANDROID_NDK=`pwd`/android-ndk-r10c after_success: - - '[ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives || :' - - '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew uploadArchives bintrayUpload || :' + - '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :' diff --git a/common.gradle b/common.gradle index 2b34f1046..d15f1c582 100644 --- a/common.gradle +++ b/common.gradle @@ -18,16 +18,11 @@ repositories { } } -configurations { - deployerJars -} - dependencies { // Adding dependencies here will add the dependencies to each subproject. testCompile group: 'junit', name: 'junit', version: '4.12' testCompile group: 'org.mockito', name: 'mockito-core', version: '2.0.28-beta' testCompile group: 'org.easytesting', name: 'fest-assert-core', version: '2.0M10' - deployerJars "org.apache.maven.wagon:wagon-ssh:2.9" } jar { @@ -116,17 +111,3 @@ artifacts { archives writeFullPom.outputs.files[0] } -uploadArchives { - repositories.mavenDeployer { - configuration = configurations.deployerJars - - // disable this otherwise it will fill up the server with stale jars - uniqueVersion = false - - repository(url: "scp://updates.jmonkeyengine.org/var/www/updates/maven") { - authentication(userName: "www-updater", privateKey: "private/www-updater.key") - } - - pom.project pomConfig - } -} \ No newline at end of file diff --git a/private/www-updater.key.enc b/private/www-updater.key.enc deleted file mode 100644 index b6a226068..000000000 Binary files a/private/www-updater.key.enc and /dev/null differ