File tree Expand file tree Collapse file tree 9 files changed +30
-25
lines changed
src/main/kotlin/link/kotlin/repo Expand file tree Collapse file tree 9 files changed +30
-25
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 1- FROM bellsoft/liberica-openjre-alpine:21.0.2
1+ FROM bellsoft/liberica-openjre-alpine:21.0.5
22RUN apk --no-cache add curl
33COPY /build/install/repo /repo
44ENTRYPOINT /repo/bin/repo
Original file line number Diff line number Diff line change 11plugins {
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
1616dependencies {
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-
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
55networkTimeout =10000
66validateDistributionUrl =true
77zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 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#
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/.
8486# shellcheck disable=SC2034
8587APP_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.
9092MAX_FD=maximum
Original file line number Diff line number Diff line change 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 ##########################################################################
Original file line number Diff line number Diff line change 11package 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
55import io.undertow.Undertow
66import io.undertow.server.HttpHandler
77import io.undertow.server.handlers.AllowedMethodsHandler
Original file line number Diff line number Diff line change 11package link.kotlin.repo
22
3- import io.micrometer.prometheus .PrometheusMeterRegistry
3+ import io.micrometer.prometheusmetrics .PrometheusMeterRegistry
44import io.undertow.server.HttpHandler
55import io.undertow.server.HttpServerExchange
66import io.undertow.server.handlers.PathHandler
You can’t perform that action at this time.
0 commit comments