Skip to content

Commit c1f0b7a

Browse files
committed
Added snapshot deployment settings
1 parent bf1f9a8 commit c1f0b7a

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ dependencies {
5555
compile 'javax.websocket:javax.websocket-api:1.1'
5656

5757
// GraphQL
58-
compile 'com.graphql-java:graphql-java:10.0'
58+
compile "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER"
5959

6060
testCompile 'io.github.graphql-java:graphql-java-annotations:5.2'
6161

6262
// JSON
63-
compile 'com.fasterxml.jackson.core:jackson-core:2.8.11'
64-
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.11'
65-
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.11'
66-
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.11'
63+
compile "com.fasterxml.jackson.core:jackson-core:$LIB_JACKSON_VER"
64+
compile "com.fasterxml.jackson.core:jackson-annotations:$LIB_JACKSON_VER"
65+
compile "com.fasterxml.jackson.core:jackson-databind:$LIB_JACKSON_VER"
66+
compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$LIB_JACKSON_VER"
6767
}
6868

6969
apply plugin: 'osgi'

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
version = 6.2.1-SNAPSHOT
22
group = com.graphql-java-kickstart
3+
4+
LIB_GRAPHQL_JAVA_VER = 10.0
5+
LIB_JACKSON_VER = 2.8.11

travis-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ];
2020
if [ "${RELEASE}" = "true" ]; then
2121
echo "Deploying release to Bintray"
2222
./gradlew clean assemble release -Prelease.useAutomaticVersion=true && ./gradlew check --info
23-
# else
24-
# echo "Deploying snapshot to Bintray"
25-
# ./gradlew artifactoryPublish && ./gradlew check --info
23+
else
24+
echo "Deploying snapshot to Bintray"
25+
./gradlew artifactoryPublish && ./gradlew check --info
2626
fi
2727
fi

0 commit comments

Comments
 (0)