Skip to content

Commit 8cdaaaa

Browse files
committed
Update versions
1 parent 5baaac1 commit 8cdaaaa

File tree

9 files changed

+30
-25
lines changed

9 files changed

+30
-25
lines changed

.run/Application.run.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Application" type="JetRunConfigurationType">
3+
<option name="MAIN_CLASS_NAME" value="link.kotlin.repo.ApplicationKt" />
4+
<module name="repo.kotlin.link.main" />
5+
<shortenClasspath name="NONE" />
6+
<method v="2">
7+
<option name="Make" enabled="true" />
8+
</method>
9+
</configuration>
10+
</component>

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bellsoft/liberica-openjre-alpine:21.0.2
1+
FROM bellsoft/liberica-openjre-alpine:21.0.5
22
RUN apk --no-cache add curl
33
COPY /build/install/repo /repo
44
ENTRYPOINT /repo/bin/repo

build.gradle.kts

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
2-
kotlin("jvm").version("1.9.23")
3-
kotlin("plugin.serialization").version("1.9.23")
2+
kotlin("jvm").version("2.1.0")
3+
kotlin("plugin.serialization").version("2.1.0")
44
application
55
}
66

@@ -14,19 +14,10 @@ repositories {
1414
}
1515

1616
dependencies {
17-
implementation("io.undertow:undertow-core:2.3.12.Final")
18-
implementation("ch.qos.logback:logback-classic:1.5.3")
19-
implementation("io.micrometer:micrometer-registry-prometheus:1.12.4")
20-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
21-
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.11.0")
22-
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
17+
implementation("io.undertow:undertow-core:2.3.18.Final")
18+
implementation("ch.qos.logback:logback-classic:1.5.16")
19+
implementation("io.micrometer:micrometer-registry-prometheus:1.14.3")
20+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0")
21+
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.12.0")
22+
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
2323
}
24-
25-
kotlin {
26-
sourceSets.all {
27-
languageSettings {
28-
languageVersion = "2.0"
29-
}
30-
}
31-
}
32-

gradle/wrapper/gradle-wrapper.jar

121 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=9631d53cf3e74bfa726893aee1f8994fee4e060c401335946dba2156f440f24c
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionSha256Sum=7a00d51fb93147819aab76024feece20b6b84e420694101f276be952e08bef03
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
8890

8991
# Use the maximum available, or set MAX_FD != -1 to use that value.
9092
MAX_FD=maximum

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

src/main/kotlin/link/kotlin/repo/Application.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package link.kotlin.repo
22

3-
import io.micrometer.prometheus.PrometheusConfig
4-
import io.micrometer.prometheus.PrometheusMeterRegistry
3+
import io.micrometer.prometheusmetrics.PrometheusConfig
4+
import io.micrometer.prometheusmetrics.PrometheusMeterRegistry
55
import io.undertow.Undertow
66
import io.undertow.server.HttpHandler
77
import io.undertow.server.handlers.AllowedMethodsHandler

src/main/kotlin/link/kotlin/repo/Handlers.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package link.kotlin.repo
22

3-
import io.micrometer.prometheus.PrometheusMeterRegistry
3+
import io.micrometer.prometheusmetrics.PrometheusMeterRegistry
44
import io.undertow.server.HttpHandler
55
import io.undertow.server.HttpServerExchange
66
import io.undertow.server.handlers.PathHandler

0 commit comments

Comments
 (0)