diff --git a/.travis.yml b/.travis.yml index f0c6d0a..2c62b4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,11 @@ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ +deploy: + provider: releases + api_key: + secure: jRY9FzaK5ThU9hsey9rpMH3E3SHZIIK1W2IRZjmjagMTCTACL7tN7JbdKqGR6zVuhCBTlLVsbEOa7tatW/eIwCfduQAAu4kxfrP5RGH1sOyWj0wCIhiu1sVVeSJAzdb8Qek6ambzEGG39XSqdoAXQKIh5XDyebw9TDbEWV5dqx0dHsrXZERagMFay0ShOUYYUINo8nuOD7VlF+Tc26jmDTJ85BDNsklMcel/s6PjAAD406XCKdHhJhGU6p7g/p4y8z1djUR+SS7Hu18phv1hWsZy6D+9G9UU7a1itLOpfzwvSozYvqxj/JmZjeGBElGof4vRYlwh1wifEQiqtS5HF3eRK8JEwdWE0ArEwp+wlgHiFUsw4PBP5GsuismM0Hero/lhTChKYWfmiW1aQ1INIC2vSuSTpjqitW44/0UcPwzkgpcGES2TZcmqE/kB9vByzUYPdGW9RcIy9S3biPpnOdw32D+Bcpc2kRLIa/MR4074nlP8OY7yQMpTKsle1s1Urq1HDeBdsVnN2TF+4VtM0myJ4VibRqaZXGu8UO1b3UDCrGj4iYHGyqF9FOwN2G0kSaRcyfQzx7ME82NnYU07ohAUhorsSS6wifzy1HsoSXSDJJQQV5Ud17waeWZQrjMq+Sy10WwVBgtexf9FMHfKdj0NS6oqScjgZU0nGHzkZ5g= + file: build/libs/acra.war + skip_cleanup: true + on: + tags: true diff --git a/build.gradle b/build.gradle index 0435933..a2e595e 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,6 @@ plugins { id 'io.spring.dependency-management' version '1.0.5.RELEASE' id 'cn.bestwu.propdeps' version '0.0.10' id 'net.researchgate.release' version '2.6.0' - id 'co.riiid.gradle' version '0.4.2' } repositories { jcenter() @@ -154,14 +153,3 @@ release { tagTemplate = 'v$version' } -github { - owner = 'F43nd1r' - repo = 'Acrarium' - token = project.hasProperty('githubKey') ? project.githubKey : ''; - tagName = 'v'+ (project.version.endsWith('-SNAPSHOT') ? project.version - '-SNAPSHOT' : project.version) - prerelease = true - assets = "$buildDir/libs/acra.war" -} - -githubRelease.dependsOn(war, 'release') -