diff --git a/.travis.yml b/.travis.yml index 0828ab04..13463cb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: groovy jdk: -- oraclejdk7 +- oraclejdk8 notifications: email: false diff --git a/build.gradle b/build.gradle index e8305d13..9067b984 100644 --- a/build.gradle +++ b/build.gradle @@ -51,25 +51,27 @@ try { println "Could not load Maven Properties... You are not a developer!" } -uploadArchives { - repositories.mavenDeployer { - configuration = configurations.deployerJars - repository(url: mavenProps.jaci.url) { - authentication(userName: mavenProps.jaci.user, password: mavenProps.jaci.auth) - } +try { + uploadArchives { + repositories.mavenDeployer { + configuration = configurations.deployerJars + repository(url: mavenProps.jaci.url) { + authentication(userName: mavenProps.jaci.user, password: mavenProps.jaci.auth) + } - pom { - groupId = project.group - version = project.version - artifactId = project.archivesBaseName - project { - name project.archivesBaseName - packaging 'jar' - description 'Build Plugin' - } - } - } -} + pom { + groupId = project.group + version = project.version + artifactId = project.archivesBaseName + project { + name project.archivesBaseName + packaging 'jar' + description 'Build Plugin' + } + } + } + } +} catch (Exception e) {} class BuildGradle implements Plugin { void apply(Project project) {