File tree Expand file tree Collapse file tree 7 files changed +20
-32
lines changed
kotlin/dev/lythium/pulsar Expand file tree Collapse file tree 7 files changed +20
-32
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ val dotenvVersion: String by project
88
99plugins {
1010 application
11- kotlin(" jvm" ) version " 1.9.22 "
12- id(" io.ktor.plugin" ) version " 2.3.8 "
13- id(" org.jetbrains.kotlin.plugin.serialization" ) version " 1.9.22 "
11+ kotlin(" jvm" ) version " 1.9.23 "
12+ id(" io.ktor.plugin" ) version " 2.3.9 "
13+ id(" org.jetbrains.kotlin.plugin.serialization" ) version " 1.9.23 "
1414}
1515
1616group = " dev.lythium.pulsar"
@@ -35,8 +35,6 @@ dependencies {
3535 implementation(" io.ktor:ktor-server-content-negotiation-jvm:$ktorVersion " )
3636 implementation(" io.ktor:ktor-serialization-kotlinx-json-jvm:$ktorVersion " )
3737
38- implementation(" com.squareup.okhttp3:okhttp:4.12.0" )
39-
4038 implementation(" org.jetbrains.exposed:exposed-core:$exposedVersion " )
4139 implementation(" org.jetbrains.exposed:exposed-jdbc:$exposedVersion " )
4240 implementation(" org.jetbrains.exposed:exposed-java-time:$exposedVersion " )
@@ -45,6 +43,7 @@ dependencies {
4543 implementation(" ch.qos.logback:logback-classic:$logbackVersion " )
4644 implementation(" org.mariadb.jdbc:mariadb-java-client:$mariadbVersion " )
4745 implementation(" io.github.cdimascio:dotenv-kotlin:$dotenvVersion " )
46+ implementation(" com.squareup.okhttp3:okhttp:4.12.0" )
4847}
4948
5049ktor {
Original file line number Diff line number Diff line change 1- ktorVersion =3.0.0-beta-1
2- kotlinVersion =1.9.22
1+ ktorVersion =2.3.9
2+ kotlinVersion =1.9.23
33logbackVersion =1.4.14
44kotlin.code.style =official
55exposedVersion =0.41.1
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.6 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343%JAVA_EXE% -version > NUL 2 >& 1
4444if %ERRORLEVEL% equ 0 goto execute
4545
46- echo .
47- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48- echo .
49- echo Please set the JAVA_HOME variable in your environment to match the
50- echo location of your Java installation.
46+ echo . 1 >& 2
47+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1 >& 2
48+ echo . 1 >& 2
49+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
50+ echo location of your Java installation. 1 >& 2
5151
5252goto fail
5353
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757
5858if exist " %JAVA_EXE% " goto execute
5959
60- echo .
61- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62- echo .
63- echo Please set the JAVA_HOME variable in your environment to match the
64- echo location of your Java installation.
60+ echo . 1 >& 2
61+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1 >& 2
62+ echo . 1 >& 2
63+ echo Please set the JAVA_HOME variable in your environment to match the 1 >& 2
64+ echo location of your Java installation. 1 >& 2
6565
6666goto fail
6767
Original file line number Diff line number Diff line change 11package dev.lythium.pulsar
22
3- import dev.lythium.pulsar.Tickets.addon
43import dev.lythium.pulsar.routes.ticketRoutes
54import dev.lythium.pulsar.routes.userRoutes
65import io.github.cdimascio.dotenv.dotenv
@@ -29,7 +28,7 @@ object Environment {
2928 val dotenv = dotenv()
3029}
3130
32- suspend fun main (args : Array <String >) {
31+ fun main (args : Array <String >) {
3332 println (Paths .get(" " ).toAbsolutePath().toString())
3433
3534 val connectionString = Environment .dotenv.get(" DATABASE_URL" )
Original file line number Diff line number Diff line change 11ktor {
2- development = true
2+ development = true
3+
34 deployment {
45 port = 8080
56 port = ${?PORT}
6- sslPort = 8443
7- sslPort = ${?SSL_PORT}
87 watch = [ classes, resources ]
98 }
109
@@ -13,13 +12,4 @@ development = true
1312 dev.lythium.pulsar.ApplicationKt.module
1413 ]
1514 }
16-
17- security {
18- ssl {
19- keyStore = test.jks
20- keyAlias = testkey
21- keyStorePassword = Password
22- privateKeyPassword = Password
23- }
24- }
2515}
You can’t perform that action at this time.
0 commit comments