Skip to content

Commit 7aa6ee7

Browse files
committed
Update README and build.gradle to refence ScaleOut API Repository
1 parent c599adb commit 7aa6ee7

File tree

2 files changed

+49
-11
lines changed

2 files changed

+49
-11
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,50 @@ The ScaleOut Spring HTTP Session library for Java allows developers to use Scale
66

77
Our **[docs](https://scaleoutsoftware.github.io/SpringSessionProvider/index.html)** will get you up and running in no time.
88

9+
To use the library in your project:
10+
11+
### Gradle
12+
13+
For Gradle, you can add the ScaleOut API Repository to your build.gradle by adding the following under repositories:
14+
15+
```
16+
repositories {
17+
mavenCentral()
18+
maven {
19+
url "https://repo.scaleoutsoftware.com/repository/external"
20+
}
21+
}
22+
```
23+
24+
...and then you can add the ScaleOut Spring Session API as a dependency:
25+
26+
```
27+
compile group: 'com.scaleoutsoftware.spring', name: "session", version: '1.0'
28+
```
29+
30+
### Maven
31+
32+
For Maven, you can add the ScaleOut API Repository to your pom.xml by adding the following repository reference:
33+
34+
```
35+
<repository>
36+
<id>ScaleOut API Repository</id>
37+
<url>https://repo.scaleoutsoftware.com/repository/external</url>
38+
</repository>
39+
```
40+
41+
...and then you can add the ScaleOut Spring Session API as a dependency:
42+
43+
```
44+
<dependencies>
45+
<dependency>
46+
<groupId>com.scaleoutsoftware.spring</groupId>
47+
<artifactId>session</artifactId>
48+
<version>1.0</version>
49+
</dependency>
50+
</dependencies>
51+
```
52+
953
This library is open source and has dependencies on other ScaleOut
1054
Software products.
1155

build.gradle

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ sourceCompatibility = 1.8
99

1010
repositories {
1111
mavenCentral()
12+
maven {
13+
url "https://repo.scaleoutsoftware.com/repository/external"
14+
}
1215
}
1316

1417
configurations {
@@ -30,18 +33,9 @@ dependencies {
3033
testCompile group: 'org.springframework', name: 'spring-context', version: '5.0.7.RELEASE'
3134
testCompile group: 'org.springframework', name: 'spring-web', version: '5.0.7.RELEASE'
3235
testCompile group: 'javax.servlet', name: 'javax.servlet-api', version: '4.0.1'
36+
testCompile group: 'com.scaleoutsoftware', name: 'jnc', version: '5.8'
3337

34-
// point the following test dependencies to the local SOSS installation folder
35-
testCompile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\lib\\concurrentlinkedhashmap-lru-1.4-soss-compat.jar')
36-
testCompile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\soss-jnc-5.7.jar')
37-
testCompile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\lib\\slf4j-log4j12-1.6.1.jar")
38-
testCompile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\lib\\slf4j-api-1.6.1.jar")
39-
testCompile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\lib\\log4j-1.2.16.jar")
40-
41-
// point the following dependencies to the local SOSS installation folder
42-
compile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\soss-jnc-5.7.jar')
43-
compile files('C:\\path\\to\\ScaleOut_Software\\StateServer\\JavaAPI\\lib\\concurrentlinkedhashmap-lru-1.4-soss-compat.jar')
44-
38+
compile group: 'com.scaleoutsoftware', name: 'jnc', version: '5.8'
4539
compile group: 'org.springframework.session', name: 'spring-session-core', version: '2.0.5.RELEASE'
4640
compile group: 'org.springframework', name: 'spring-context', version: '5.0.7.RELEASE'
4741
compile group: 'org.springframework', name: 'spring-web', version: '5.0.7.RELEASE'

0 commit comments

Comments
 (0)