Skip to content

Commit

Permalink
fix build and move to java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
bcorne committed Jan 18, 2021
1 parent b0941b6 commit 84d2b33
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ subprojects {
jcenter()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

1 change: 0 additions & 1 deletion sources/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ dependencies {
compile 'org.slf4j:slf4j-api:1.7.7'
compile 'org.apache.httpcomponents:httpclient:4.5.3'
compile 'org.apache.httpcomponents:httpmime:4.5.3'
compile 'ch.qos.logback:logback-classic:1.2.3'

This comment has been minimized.

Copy link
@alexkvak

alexkvak Mar 2, 2021

@bcorne why did you removed this line? I face the #274 issue again

This comment has been minimized.

Copy link
@alexkvak

alexkvak Mar 2, 2021

I've made an PR #280 to fix this. Could you merge it?

compile 'org.threeten:threetenbp:1.3.1'
compile 'org.glassfish.tyrus.bundles:tyrus-standalone-client:1.13.1'
compile 'javax.websocket:javax.websocket-api:1.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -798,12 +798,12 @@ public SlackMessageHandle<SlackMessageReply> sendEphemeralMessage(String channel
}

@Override
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, byte[] data, String fileName) {
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, InputStream data, String fileName) {
return sendFile(findChannelById(channelId), data, fileName);
}

@Override
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, byte[] data, String fileName, String title, String initialComment) {
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, InputStream data, String fileName, String title, String initialComment) {
return sendFile(findChannelById(channelId), data, fileName, title, initialComment);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ public SlackMessageHandle<SlackMessageReply> sendEphemeralMessage(String channel
}

@Override
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, byte[] data, String fileName) {
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, InputStream data, String fileName) {
return null;
}

@Override
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, byte[] data, String fileName, String title, String initialComment) {
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, InputStream data, String fileName, String title, String initialComment) {
return null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ public SlackMessageHandle<SlackMessageReply> sendEphemeralMessage(String channel
}

@Override
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, byte[] data, String fileName) {
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, InputStream data, String fileName) {
return null;
}

@Override
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, byte[] data, String fileName, String title, String initialComment) {
public SlackMessageHandle<SlackMessageReply> sendFile(String channelId, InputStream data, String fileName, String title, String initialComment) {
return null;
}

Expand Down

0 comments on commit 84d2b33

Please sign in to comment.