update project

This commit is contained in:
2025-07-29 21:16:43 +02:00
parent d0c4a50966
commit 590cb40d3e
14 changed files with 67 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ insert_final_newline = true
max_line_length = 120 max_line_length = 120
tab_width = 4 tab_width = 4
[*.{md,yml}] [*.{md,json,yml}]
max_line_length = 1024 max_line_length = 1024
indent_size = 2 indent_size = 2
tab_width = 2 tab_width = 2
@@ -19,12 +19,14 @@ end_of_line = crlf
# noinspection EditorConfigKeyCorrectness # noinspection EditorConfigKeyCorrectness
[*.{kt,kts}] [*.{kt,kts}]
ij_kotlin_packages_to_use_import_on_demand = unset
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_allow_trailing_comma = true ij_kotlin_allow_trailing_comma = true
ktlint_standard_import-ordering = disabled ij_kotlin_allow_trailing_comma_on_call_site = true
ktlint_standard_no-empty-first-line-in-class-body = disabled ij_kotlin_packages_to_use_import_on_demand = unset
ktlint_standard_chain-method-continuation = disabled
ktlint_standard_class-signature = disabled
ktlint_standard_function-signature = disabled ktlint_standard_function-signature = disabled
ktlint_standard_parameter-list-wrapping = disabled ktlint_standard_import-ordering = disabled
ktlint_standard_multiline-expression-wrapping = disabled ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_no-empty-first-line-in-class-body = disabled
ktlint_standard_parameter-list-wrapping = disabled
ktlint_standard_string-template-indent = disabled ktlint_standard_string-template-indent = disabled

View File

@@ -2,7 +2,7 @@
{description} {description}
## Properties for deployment ## Properties For Deployment
| Name | Required | Information | | Name | Required | Information |
|------------------------|:--------:|-------------------------| |------------------------|:--------:|-------------------------|
@@ -12,7 +12,7 @@
## Releasing Service ## Releasing Service
Run `release.sh` script from `master` branch. Run release pipeline from `master` branch.
## Development Configuration ## Development Configuration

View File

@@ -1,9 +1,9 @@
plugins { plugins {
alias(hlaeja.plugins.kotlin.jvm) alias(hlaeja.plugins.kotlin.jvm)
alias(hlaeja.plugins.kotlin.spring) alias(hlaeja.plugins.kotlin.spring)
alias(hlaeja.plugins.ltd.hlaeja.plugin.service) alias(hlaeja.plugins.spring.boot)
alias(hlaeja.plugins.spring.dependency.management) alias(hlaeja.plugins.spring.dependency.management)
alias(hlaeja.plugins.springframework.boot) alias(hlaeja.plugins.service)
} }
dependencies { dependencies {

View File

@@ -1,3 +1,3 @@
kotlin.code.style=official kotlin.code.style=official
version=0.1.0-SNAPSHOT version=0.1.0-SNAPSHOT
catalog=0.10.0 catalog=0.11.0

Binary file not shown.

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

4
gradlew vendored
View File

@@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;; NONSTOP* ) nonstop=true ;;
esac esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM. # Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \ set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \ "-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \ -classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@" "$@"
# Stop when "xargs" is not available. # Stop when "xargs" is not available.

4
gradlew.bat vendored
View File

@@ -70,11 +70,11 @@ goto fail
:execute :execute
@rem Setup the command line @rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar set CLASSPATH=
@rem Execute Gradle @rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end :end
@rem End local scope for the variables with windows NT shell @rem End local scope for the variables with windows NT shell

View File

@@ -0,0 +1,24 @@
{
"properties": [
{
"name": "spring.application.version",
"type": "java.lang.String",
"description": "Application version."
},
{
"name": "spring.application.build.time",
"type": "java.lang.String",
"description": "Application build time."
},
{
"name": "spring.application.build.os.name",
"type": "java.lang.String",
"description": "Application build os name."
},
{
"name": "spring.application.build.os.version",
"type": "java.lang.String",
"description": "Application build os version."
}
]
}

View File

@@ -1,21 +1,28 @@
spring: spring:
application: application:
name: hlaeja-service name: "%APP_NAME%"
version: "%APP_VERSION%"
build:
time: "%APP_BUILD_TIME%"
os:
name: "%APP_BUILD_OS_NAME%"
version: "%APP_BUILD_OS_VERSION%"
profiles: profiles:
active: development active: development
management: management:
endpoints: endpoints:
enabled-by-default: false access:
default: none
web: web:
exposure: exposure:
include: "health,info" include: "health,info"
endpoint: endpoint:
health: health:
enabled: true
show-details: always show-details: always
access: read_only
info: info:
enabled: true access: read_only
--- ---
############################### ###############################

View File

@@ -0,0 +1,13 @@
_/ _/ _/ _/ _/_/_/ _/
_/ _/ _/ _/_/_/ _/_/ _/_/_/ _/ _/_/ _/ _/_/ _/ _/ _/_/_/ _/_/
_/_/_/_/ _/ _/ _/_/_/_/_/ _/ _/ _/ _/_/ _/_/_/_/ _/_/ _/ _/ _/ _/ _/_/_/_/
_/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/_/_/ _/_/_/ _/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/ _/_/_/ _/_/_/
_/
_/
:: Service :: ${spring.application.name}
:: Version :: ${spring.application.version}
:: Build time :: ${spring.application.build.time}
:: Build OS :: ${spring.application.build.os.name} v${spring.application.build.os.version}

View File

@@ -1,11 +0,0 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT"/>
</root>
<logger level="DEBUG" name="ltd.hlaeja"/>
</configuration>

View File

@@ -8,6 +8,6 @@ class ApplicationTests {
@Test @Test
fun contextLoads() { fun contextLoads() {
// placeholder
} }
} }