GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Snapshot with signJars test · morristech/java-sdk@00dc759

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .travis.yml
  • .utility
    • deploy.sh
    • travis.sh
  • alchemy
    • build.gradle
  • build.gradle
  • cd
    • secring.gpg.enc
  • conversation
    • build.gradle
  • core
    • build.gradle
  • dialog
    • build.gradle
  • discovery
    • build.gradle
  • document-conversion
    • build.gradle
  • language-translation
    • build.gradle
  • language-translator
    • build.gradle
  • natural-language-classifier
    • build.gradle
  • personality-insights
    • build.gradle
  • retrieve-and-rank
    • build.gradle
  • speech-to-text
    • build.gradle
  • text-to-speech
    • build.gradle
  • tone-analyzer
    • build.gradle
  • tradeoff-analytics
    • build.gradle
  • visual-recognition
    • build.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.travis.yml‎

Copy file name to clipboardExpand all lines: .travis.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ before_install:
2727
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
2828

2929
script:
30+
3031
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_a973fe4f8e79_key -iv $encrypted_a973fe4f8e79_iv -in .config.properties.enc -out core/src/test/resources/.config.properties -d || true'
3132
- ./gradlew install -x check
3233
- ./gradlew docs > /dev/null # build the javadoc
3334

3435
after_success:
3536
- .utility/push-javadoc-to-gh-pages.sh
36-
- .utility/deploy_snapshot.sh
37+
- .utility/deploy.sh
3738

3839
notifications:
3940
email: false
Collapse file

‎.utility/deploy.sh‎

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
3+
openssl aes-256-cbc -K $encrypted_914d35e8ba1f_key -iv $encrypted_914d35e8ba1f_iv -in cd/secring.gpg.enc -out cd/secring.gpg -d
4+
./gradlew signJars -Psigning.keyId=$SIGNING_KEY -Psigning.password=$SIGNING_PASSWORD -Psigning.secretKeyRingFile=$KEYRING_PATH -PossrhUsername=$OSSRH_JIRA_USERNAME -PossrhPassword=$OSSRH_JIRA_PASSWORD
5+
fi
Collapse file

‎.utility/travis.sh‎

Copy file name to clipboard
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
set -e # enforces the script to fail as soon as one command fails
4+
5+
./gradlew install -x check
6+
./gradlew docs > /dev/null
7+
8+
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
9+
echo '$TRAVIS_PULL_REQUEST is false, running all tests'
10+
openssl aes-256-cbc -K $encrypted_a973fe4f8e79_key -iv $encrypted_a973fe4f8e79_iv -in .config.properties.enc -out tests/src/test/resources/.config.properties -d
11+
./gradlew cobertura
12+
else
13+
echo '$TRAVIS_PULL_REQUEST is not false ($TRAVIS_PULL_REQUEST), running unit tests'
14+
./gradlew check
15+
fi
Collapse file

‎alchemy/build.gradle‎

Copy file name to clipboardExpand all lines: alchemy/build.gradle
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import org.apache.tools.ant.filters.*
1010
apply plugin: 'java'
1111
apply plugin: 'ru.vyarus.animalsniffer'
1212
apply plugin: 'maven'
13+
apply plugin: 'signing'
1314
apply plugin: 'checkstyle'
15+
apply plugin: 'eclipse'
1416

1517
version = '3.5.4-SNAPSHOT'
1618
group = 'com.ibm.watson.developercloud'
@@ -34,6 +36,10 @@ artifacts {
3436
archives javadocJar
3537
}
3638

39+
signing {
40+
sign configurations.archives
41+
}
42+
3743
checkstyle {
3844
configFile = rootProject.file('checkstyle.xml')
3945
}
@@ -42,7 +48,7 @@ dependencies {
4248
compile project(':core')
4349

4450
testCompile project(path: ':core', configuration: 'tests')
45-
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '3.3.1'
51+
testCompile group: 'com.squareup.okhttp3', name: 'mockwebserver', version: '3.6.0'
4652
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.7'
4753
testCompile group: 'com.google.guava', name: 'guava', version: '19.0'
4854
testCompile group: 'junit', name: 'junit-dep', version: '4.11'
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ task docs(type: Javadoc) {
1414
destinationDir = file("$buildDir/docs/all")
1515
}
1616

17+
task copyJars(type: Copy) {
18+
from subprojects.collect { it.tasks.withType(Jar) }
19+
into "$buildDir/allJars"
20+
}
21+
22+
task signJars(type: Copy) {
23+
from subprojects.collect { it.tasks.withType(Sign) }
24+
into "$buildDir/allJars"
25+
}
26+
1727
subprojects {
1828

1929
checkstyleTest {
Collapse file

‎cd/secring.gpg.enc‎

Copy file name to clipboard
4.02 KB
Binary file not shown.
Collapse file

‎conversation/build.gradle‎

Copy file name to clipboardExpand all lines: conversation/build.gradle
+10-5Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,23 @@ import org.apache.tools.ant.filters.*
1010
apply plugin: 'java'
1111
apply plugin: 'ru.vyarus.animalsniffer'
1212
apply plugin: 'maven'
13+
apply plugin: 'signing'
1314
apply plugin: 'checkstyle'
1415
apply plugin: 'eclipse'
1516

1617
version = '3.5.4-SNAPSHOT'
1718
group = 'com.ibm.watson.developercloud'
1819

20+
task javadocJar(type: Jar) {
21+
classifier = 'javadoc'
22+
from javadoc
23+
}
24+
1925
task sourcesJar(type: Jar) {
2026
classifier = 'sources'
2127
from sourceSets.main.allSource
2228
}
2329

24-
task javadocJar(type: Jar, dependsOn: javadoc) {
25-
classifier = 'javadoc'
26-
from javadoc.destinationDir
27-
}
28-
2930
repositories {
3031
mavenCentral()
3132
}
@@ -35,6 +36,10 @@ artifacts {
3536
archives javadocJar
3637
}
3738

39+
signing {
40+
sign configurations.archives
41+
}
42+
3843
checkstyle {
3944
configFile = rootProject.file('checkstyle.xml')
4045
}
Collapse file

‎core/build.gradle‎

Copy file name to clipboardExpand all lines: core/build.gradle
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import org.apache.tools.ant.filters.*
1010
apply plugin: 'java'
1111
apply plugin: 'ru.vyarus.animalsniffer'
1212
apply plugin: 'maven'
13+
apply plugin: 'signing'
1314
apply plugin: 'checkstyle'
1415
apply plugin: 'eclipse'
1516

@@ -35,6 +36,10 @@ artifacts {
3536
archives javadocJar
3637
}
3738

39+
signing {
40+
sign configurations.archives
41+
}
42+
3843
checkstyleTest {
3944
ignoreFailures = true
4045
}
Collapse file

‎dialog/build.gradle‎

Copy file name to clipboardExpand all lines: dialog/build.gradle
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import org.apache.tools.ant.filters.*
1010
apply plugin: 'java'
1111
apply plugin: 'ru.vyarus.animalsniffer'
1212
apply plugin: 'maven'
13+
apply plugin: 'signing'
1314
apply plugin: 'checkstyle'
1415
apply plugin: 'eclipse'
1516

@@ -34,6 +35,11 @@ artifacts {
3435
archives sourcesJar
3536
archives javadocJar
3637
}
38+
39+
signing {
40+
sign configurations.archives
41+
}
42+
3743
checkstyleTest {
3844
ignoreFailures = true
3945
}
Collapse file

‎discovery/build.gradle‎

Copy file name to clipboardExpand all lines: discovery/build.gradle
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import org.apache.tools.ant.filters.*
1010
apply plugin: 'java'
1111
apply plugin: 'ru.vyarus.animalsniffer'
1212
apply plugin: 'maven'
13+
apply plugin: 'signing'
1314
apply plugin: 'checkstyle'
1415
apply plugin: 'eclipse'
1516

@@ -35,6 +36,10 @@ artifacts {
3536
archives javadocJar
3637
}
3738

39+
signing {
40+
sign configurations.archives
41+
}
42+
3843
checkstyleTest {
3944
ignoreFailures = true
4045
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.