WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f3ded01

Browse files
committed
SSE/Java8: init module
1 parent 35c6dbd commit f3ded01

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[//]: # (TODO)
2+
[//]: # (TODO: test)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apply plugin: 'java-library'
2+
apply plugin: 'com.vanniktech.maven.publish'
3+
4+
dependencies {
5+
api projects.retrofit
6+
api libs.okhttp.sse
7+
compileOnly libs.findBugsAnnotations
8+
9+
// testImplementation libs.junit
10+
// testImplementation libs.truth
11+
// testImplementation libs.guava
12+
testImplementation libs.okhttp.mockwebserver
13+
}
14+
15+
jar {
16+
manifest {
17+
attributes 'Automatic-Module-Name': 'retrofit2.adapter.sse-java8'
18+
}
19+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
POM_ARTIFACT_ID=adapter-sse-java8
2+
POM_NAME=Adapter: SSE Java 8
3+
POM_DESCRIPTION=A Retrofit CallAdapter for server-sent event (SSE) with Java 8's Stream.

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ include ':retrofit-adapters:rxjava'
3030
include ':retrofit-adapters:rxjava2'
3131
include ':retrofit-adapters:rxjava3'
3232
include ':retrofit-adapters:scala'
33+
include ':retrofit-adapters:sse-java8'
3334

3435
include ':retrofit-converters:gson'
3536
include ':retrofit-converters:guava'

0 commit comments

Comments
 (0)