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}
|
{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.
|
||||||
|
|||||||
@@ -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()
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user