File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ val copyPlugin by tasks.creating(Copy::class.java) {
63
63
}
64
64
65
65
from(filteredClasspath) {
66
- include(" * .jar" )
66
+ include(" $pluginId .jar" )
67
67
}
68
68
69
69
from(" src/main/resources" ) {
70
- include(" extensions .json" )
70
+ include(" extension .json" )
71
71
include(" icon.svg" )
72
72
}
73
73
Original file line number Diff line number Diff line change 1
1
[versions ]
2
- gateway = " 2.1.0.15856 "
2
+ gateway = " 2.1.0.16315 "
3
3
kotlin = " 1.8.10"
4
4
coroutines = " 1.6.4"
5
5
serialization = " 1.5.0"
Original file line number Diff line number Diff line change 1
1
package toolbox.gateway.sample
2
2
3
+ import com.jetbrains.toolbox.gateway.EnvironmentVisibilityState
3
4
import com.jetbrains.toolbox.gateway.RemoteEnvironmentPropertiesConsumer
4
5
import com.jetbrains.toolbox.gateway.RemoteProviderEnvironment
5
6
import com.jetbrains.toolbox.gateway.environments.EnvironmentContentsView
6
- import com.jetbrains.toolbox.gateway.environments.ManualEnvironmentContentsView
7
7
import java.util.concurrent.CompletableFuture
8
8
9
9
class SampleRemoteEnvironment (
@@ -22,7 +22,6 @@ class SampleRemoteEnvironment(
22
22
return CompletableFuture .completedFuture(SampleEnvironmentContentsView ())
23
23
}
24
24
25
- override fun setVisible (p0 : Boolean , p1 : Boolean ) {
26
-
25
+ override fun setVisible (visibilityState : EnvironmentVisibilityState ) {
27
26
}
28
27
}
Original file line number Diff line number Diff line change 1
1
package toolbox.gateway.sample
2
2
3
+ import com.jetbrains.toolbox.gateway.ProviderVisibilityState
3
4
import com.jetbrains.toolbox.gateway.RemoteEnvironmentConsumer
4
5
import com.jetbrains.toolbox.gateway.RemoteProvider
5
6
import kotlinx.coroutines.*
@@ -54,7 +55,7 @@ class SampleRemoteProvider(
54
55
override fun canCreateNewEnvironments (): Boolean = true
55
56
override fun isSingleEnvironment (): Boolean = false
56
57
57
- override fun setVisibilityState (p0 : Boolean , p1 : Boolean ) {}
58
+ override fun setVisibilityState (visibilityState : ProviderVisibilityState ) {}
58
59
59
60
override fun addEnvironmentsListener (listener : RemoteEnvironmentConsumer ) {}
60
61
override fun removeEnvironmentsListener (listener : RemoteEnvironmentConsumer ) {}
You can’t perform that action at this time.
0 commit comments