Compare commits

...

2 commits

Author SHA1 Message Date
5d94921a82
1.0.1-SNAPSHOT 2024-09-20 22:43:10 -07:00
d13626fffe
Tests against Kotlin 2.0.20 2024-09-20 22:31:08 -07:00
4 changed files with 11 additions and 4 deletions

View file

@ -21,7 +21,7 @@ commands:
- sdkman/setup-sdkman
- sdkman/sdkman-install:
candidate: kotlin
version: 2.0.0
version: 2.0.20
- run:
name: Download dependencies
command: ./bld download

View file

@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
java-version: [17, 21, 22]
kotlin-version: [ 1.9.24, 2.0.0 ]
kotlin-version: [1.9.24, 2.0.20]
steps:
- name: Checkout source repository

View file

@ -18,7 +18,7 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>2.0.0</version>
<version>2.0.20</version>
<scope>compile</scope>
</dependency>
<dependency>

View file

@ -85,6 +85,7 @@ public class CryptoPriceBuild extends Project {
.withCredentials(property("sonatype.user"), property("sonatype.password"))
: repository(SONATYPE_RELEASES_LEGACY.location())
.withCredentials(property("sonatype.user"), property("sonatype.password")))
.repository(repository("github"))
.info()
.groupId("net.thauvin.erik")
.artifactId(name)
@ -165,6 +166,12 @@ public class CryptoPriceBuild extends Project {
pomRoot();
}
@Override
public void publishLocal() throws Exception {
super.publishLocal();
pomRoot();
}
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
public void pomRoot() throws FileUtilsErrorException {
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),