use hlaeja plugins
- update README.md for publish - add hlaeja library plugin - use catalog version for plugins
This commit is contained in:
14
README.md
14
README.md
@@ -2,6 +2,20 @@
|
||||
|
||||
{description}
|
||||
|
||||
## Publishing library
|
||||
|
||||
### Publish library locally
|
||||
|
||||
```shell
|
||||
./gradlew clean build publishToMavenLocal
|
||||
```
|
||||
|
||||
### Publish library to repository
|
||||
|
||||
```shell
|
||||
./gradlew clean build publish
|
||||
```
|
||||
|
||||
### 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.
|
||||
|
||||
@@ -1,24 +1,9 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "1.9.25"
|
||||
}
|
||||
|
||||
group = "ltd.lulz"
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
alias(hlaeja.plugins.kotlin.jvm)
|
||||
alias(hlaeja.plugins.ltd.hlaeja.plugin.library)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
freeCompilerArgs.addAll("-Xjsr305=strict")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
group = "ltd.lulz"
|
||||
|
||||
Reference in New Issue
Block a user