Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pseuco-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseuco
pseuco-ide
Commits
65acde61
Verified
Commit
65acde61
authored
Jun 12, 2019
by
Konstantin Kopper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some dependency upgrades
parent
0700df2b
Pipeline
#7568
passed with stages
in 7 minutes and 22 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
build.gradle.kts
build.gradle.kts
+4
-4
src/main/kotlin/com/pseuco/api/PseuCoShare.kt
src/main/kotlin/com/pseuco/api/PseuCoShare.kt
+2
-0
src/main/kotlin/fxGui/Main.kt
src/main/kotlin/fxGui/Main.kt
+3
-0
src/main/kotlin/updates/VersionCheck.kt
src/main/kotlin/updates/VersionCheck.kt
+2
-0
No files found.
build.gradle.kts
View file @
65acde61
...
...
@@ -17,7 +17,7 @@ repositories {
maven
{
url
=
uri
(
"https://dl.bintray.com/kotlin/kotlinx"
)
}
}
val
ktorVersion
=
"1.
1.4
"
val
ktorVersion
=
"1.
2.1
"
val
junitVersion
=
"5.4.2"
val
aspectjVersion
=
"1.9.4"
...
...
@@ -32,7 +32,7 @@ dependencies {
implementation
(
"org.jetbrains.kotlinx"
,
"kotlinx-coroutines-core"
,
"1.2.1"
)
// Kotlin serialization
runtimeOnly
(
"org.jetbrains.kotlinx"
,
"kotlinx-serialization-runtime"
,
"0.11.0"
)
implementation
(
"org.jetbrains.kotlinx"
,
"kotlinx-serialization-runtime"
,
"0.11.0"
)
// OpenJFX
if
(
JavaVersion
.
current
().
isJava11Compatible
)
{
...
...
@@ -59,7 +59,7 @@ dependencies {
implementation
(
"io.ktor"
,
"ktor-freemarker"
,
ktorVersion
)
// http4k WebSocket client library
implementation
(
"org.http4k"
,
"http4k-client-websocket"
,
"3.1
46.0
"
)
implementation
(
"org.http4k"
,
"http4k-client-websocket"
,
"3.1
54.1
"
)
// AspectJ runtime
runtimeOnly
(
"org.aspectj"
,
"aspectjrt"
,
aspectjVersion
)
...
...
@@ -71,7 +71,7 @@ dependencies {
testImplementation
(
"org.junit.jupiter"
,
"junit-jupiter-params"
,
junitVersion
)
testRuntimeOnly
(
"org.junit.jupiter"
,
"junit-jupiter-engine"
,
junitVersion
)
testImplementation
(
"org.mockito"
,
"mockito-junit-jupiter"
,
"2.2
7.0
"
)
testImplementation
(
"org.mockito"
,
"mockito-junit-jupiter"
,
"2.2
8.2
"
)
}
version
=
"2.0.3"
...
...
src/main/kotlin/com/pseuco/api/PseuCoShare.kt
View file @
65acde61
...
...
@@ -38,6 +38,8 @@ object PseuCoShare : FileSharer {
*/
private
val
client
=
HttpClient
(
Apache
)
fun
close
()
=
client
.
close
()
/**
* Upload a file to the [pseuCo.com](https://pseuco.com) sharing API.
* The file is only kept temporary.
...
...
src/main/kotlin/fxGui/Main.kt
View file @
65acde61
package
fxGui
import
com.pseuco.PseuCoFileSharer
import
com.pseuco.api.PseuCoShare
import
com.pseuco.websocket.PseuCoWebSocket
import
config.Config
import
fxGui.main.MainPane
...
...
@@ -146,6 +147,8 @@ internal class Main : Application() {
override
fun
stop
()
{
super
.
stop
()
PseuCoShare
.
close
()
VersionCheck
.
close
()
PseuCoWebSocket
.
stop
()
CompanionWebApp
.
stop
()
}
...
...
src/main/kotlin/updates/VersionCheck.kt
View file @
65acde61
...
...
@@ -81,6 +81,8 @@ object VersionCheck {
}
}
fun
close
()
=
client
.
close
()
/**
* A list of available [Version]s. Set by [fetchVersions].
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment