Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
S
saberlight
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
madhead
saberlight
Commits
57197614
Verified
Commit
57197614
authored
Jun 09, 2019
by
madhead
⌨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fail
#1
: No K/N support for Ktor servers yet!
parent
6675db34
Pipeline
#65371237
failed with stages
in 3 minutes and 49 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
Screen Shot 2019-06-09 at 13.39.32-fullpage.png
Screen Shot 2019-06-09 at 13.39.32-fullpage.png
+0
-0
app/build.gradle.kts
app/build.gradle.kts
+10
-1
app/src/raspberrypiMain/kotlin/by/dev/madhead/saberlight/Saberlight.kt
...errypiMain/kotlin/by/dev/madhead/saberlight/Saberlight.kt
+5
-0
app/src/raspberrypiMain/resources/application.conf
app/src/raspberrypiMain/resources/application.conf
+10
-0
No files found.
Screen Shot 2019-06-09 at 13.39.32-fullpage.png
0 → 100644
View file @
57197614
244 KB
app/build.gradle.kts
View file @
57197614
...
...
@@ -10,7 +10,16 @@ kotlin {
linuxArm32Hfp
(
"raspberrypi"
)
{
binaries
{
executable
(
"saberlight"
)
{
entryPoint
=
"by.dev.madhead.saberlight.main"
// entryPoint = "by.dev.madhead.saberlight.main"
entryPoint
=
"io.ktor.server.cio.EngineMain"
}
}
}
sourceSets
{
val
raspberrypiMain
by
getting
{
dependencies
{
implementation
(
"io.ktor:ktor-server-cio:1.2.1"
)
}
}
}
...
...
app/src/raspberrypiMain/kotlin/by/dev/madhead/saberlight/Saberlight.kt
0 → 100644
View file @
57197614
package
by.dev.madhead.saberlight
@KtorExperimentalAPI
fun
Application
.
main
()
{
}
app/src/raspberrypiMain/resources/application.conf
0 → 100644
View file @
57197614
ktor
{
deployment
{
port
=
8080
port
= ${?
SABERLIGHT_HTTP_PORT
}
}
application
{
modules
= [
by
.
dev
.
madhead
.
saberlight
.
SaberlightKt
.
main
]
}
}
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