GeezerVison is showing github.com — countering pesky ghost travis gradle assemble · morristech/java-sdk@7b8c231
File tree
Expand file treeCollapse file tree
Open diff view settings
natural-language-classifier
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .travis.yml +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
23 | 23 | - secure: eLv41LVZoRCqQehOM29RLodZ6NZhrIdLWklAkMdLGlFDEiVY5f0shaPLffpUiuv/3pg+CuQk9ffBc72m8lwTsimex9unC/WVsqQJhqQEWJEaPGL0UamV/HqHMeBQEpKiCcKHaBRHFGk7QQJVtiXvVvlbwk7Jks5giUR7+s/Q6iI= |
24 | 24 | - secure: l0dde5NSGedD6fny5aMr1ll90FYVd7IKDsZ0Kd1GWnB+iDd3rjDBwz5q6NUwN2LTqw3jWFqmqdEnGUGO3Er0rdfdtPh3K194sTK3XuCZz8GEjFvYAEDRQ59oyK8fhw60c86cWppBQ4gluLKLstm12DLkARTUvJiIsTQTnuc2YGg= |
25 | 25 |
|
| 26 | +install: true |
| 27 | + |
26 | 28 | before_install: |
27 | 29 | - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml |
28 | 30 |
|
|
Collapse file
Copy file name to clipboard +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | #!/usr/bin/env bash |
2 | | -if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then |
| 2 | +#if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then |
3 | 3 | openssl aes-256-cbc -K $encrypted_bdb9d73a7940_key -iv $encrypted_bdb9d73a7940_iv -in cd/secring.gpg.enc -out cd/secring.gpg -d |
4 | 4 | ls -l cd |
5 | 5 | ./gradlew signJars -Psigning.keyId=$SIGNING_KEY -Psigning.password=$SIGNING_PASSWORD -Psigning.secretKeyRingFile=$KEYRING_PATH -PossrhUsername=$OSSRH_JIRA_USERNAME -PossrhPassword=$OSSRH_JIRA_PASSWORD |
6 | | -fi |
| 6 | +#fi |
Collapse file
Copy file name to clipboardExpand all lines: alchemy/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyle { |
44 | 56 | configFile = rootProject.file('checkstyle.xml') |
45 | 57 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: conversation/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyle { |
44 | 56 | configFile = rootProject.file('checkstyle.xml') |
45 | 57 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: core/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyleTest { |
44 | 56 | ignoreFailures = true |
45 | 57 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: dialog/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyleTest { |
44 | 56 | ignoreFailures = true |
45 | 57 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: discovery/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyleTest { |
44 | 56 | ignoreFailures = true |
45 | 57 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: document-conversion/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyle { |
44 | 56 | configFile = rootProject.file('checkstyle.xml') |
45 | 57 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: language-translation/build.gradle +11Lines changed: 11 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,17 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
43 | 54 |
|
44 | 55 | checkstyle { |
45 | 56 | configFile = rootProject.file('checkstyle.xml') |
|
Collapse file
Copy file name to clipboardExpand all lines: language-translator/build.gradle +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -40,6 +40,18 @@ signing { |
40 | 40 | sign configurations.archives |
41 | 41 | } |
42 | 42 |
|
| 43 | +signArchives { |
| 44 | + onlyIf { Task task -> |
| 45 | + def shouldExec = false |
| 46 | + for (myArg in project.gradle.startParameter.taskRequests[0].args) { |
| 47 | + if (myArg.toLowerCase().contains("signjars") || myArg.toLowerCase().contains("uploadarchives")) { |
| 48 | + shouldExec = true |
| 49 | + } |
| 50 | + } |
| 51 | + return shouldExec |
| 52 | + } |
| 53 | +} |
| 54 | + |
43 | 55 | checkstyle { |
44 | 56 | configFile = rootProject.file('checkstyle.xml') |
45 | 57 | } |
|