use hlaeja plugins

- update README.md for publish
- add hlaeja library plugin
- use catalog version for plugins
This commit is contained in:
2025-04-07 17:35:30 +02:00
parent 3b4de1268f
commit 5a511ea3f3
2 changed files with 17 additions and 18 deletions

View File

@@ -2,6 +2,20 @@
{description} {description}
## Publishing library
### Publish library locally
```shell
./gradlew clean build publishToMavenLocal
```
### Publish library to repository
```shell
./gradlew clean build publish
```
### Global gradle properties ### Global gradle properties
To authenticate with Gradle to access repositories that require authentication, you can set your user and token in the `gradle.properties` file. To authenticate with Gradle to access repositories that require authentication, you can set your user and token in the `gradle.properties` file.

View File

@@ -1,24 +1,9 @@
plugins { plugins {
kotlin("jvm") version "1.9.25" alias(hlaeja.plugins.kotlin.jvm)
} alias(hlaeja.plugins.ltd.hlaeja.plugin.library)
group = "ltd.lulz"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
} }
dependencies { dependencies {
} }
kotlin { group = "ltd.lulz"
compilerOptions {
freeCompilerArgs.addAll("-Xjsr305=strict")
}
}
tasks.withType<Test> {
useJUnitPlatform()
}