Skip to content

Commit

Permalink
fix #14. Use 'org.glassfish.jersey.core:jersey-server' instead of 'or…
Browse files Browse the repository at this point in the history
…g.glassfish.jersey.containers:project'. Also in this commit: externalize jersey version to gradle.properties and bump globalModuleVersion from 0.3.1-SNAPSHOT to 0.4.0-SNAPSHOT since we skip 0.3.1
  • Loading branch information
bbilger committed Dec 6, 2016
1 parent eba4bc6 commit f6c7bea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ subprojects {
}

ext.libraries = [
jersey_containers_project: 'org.glassfish.jersey.containers:project:2.24.1',
jersey_media_json_jackson: 'org.glassfish.jersey.media:jersey-media-json-jackson:2.24.1',
jersey_test_grizzly: 'org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2:2.24.1',
jersey_test_core: 'org.glassfish.jersey.test-framework:jersey-test-framework-core:2.24.1',
jersey_server: "org.glassfish.jersey.core:jersey-server:${jerseyVersion}",
jersey_media_json_jackson: "org.glassfish.jersey.media:jersey-media-json-jackson:${jerseyVersion}",
jersey_test_grizzly: "org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2:${jerseyVersion}",
jersey_test_core: "org.glassfish.jersey.test-framework:jersey-test-framework-core:${jerseyVersion}",
findbugs_jsr305: 'com.google.code.findbugs:jsr305:3.0.1',
aws_lambda_core: 'com.amazonaws:aws-lambda-java-core:1.1.0',
slf4j_api: 'org.slf4j:slf4j-api:1.7.21',
Expand Down
2 changes: 1 addition & 1 deletion core/jrestless-core-container/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = "${globaleModuleVersion}"

dependencies {
compile(
libraries.jersey_containers_project,
libraries.jersey_server,
libraries.slf4j_api,
libraries.findbugs_jsr305
)
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
globaleModuleVersion=0.3.1-SNAPSHOT
globaleModuleVersion=0.4.0-SNAPSHOT
jerseyVersion=2.24.1

0 comments on commit f6c7bea

Please sign in to comment.