Compare commits
2 commits
814cf51b7c
...
5d94921a82
Author | SHA1 | Date | |
---|---|---|---|
5d94921a82 | |||
d13626fffe |
4 changed files with 11 additions and 4 deletions
|
@ -21,7 +21,7 @@ commands:
|
||||||
- sdkman/setup-sdkman
|
- sdkman/setup-sdkman
|
||||||
- sdkman/sdkman-install:
|
- sdkman/sdkman-install:
|
||||||
candidate: kotlin
|
candidate: kotlin
|
||||||
version: 2.0.0
|
version: 2.0.20
|
||||||
- run:
|
- run:
|
||||||
name: Download dependencies
|
name: Download dependencies
|
||||||
command: ./bld download
|
command: ./bld download
|
||||||
|
|
2
.github/workflows/bld.yml
vendored
2
.github/workflows/bld.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java-version: [17, 21, 22]
|
java-version: [17, 21, 22]
|
||||||
kotlin-version: [ 1.9.24, 2.0.0 ]
|
kotlin-version: [1.9.24, 2.0.20]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source repository
|
- name: Checkout source repository
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -18,7 +18,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jetbrains.kotlin</groupId>
|
<groupId>org.jetbrains.kotlin</groupId>
|
||||||
<artifactId>kotlin-stdlib</artifactId>
|
<artifactId>kotlin-stdlib</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>2.0.20</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -85,6 +85,7 @@ public class CryptoPriceBuild extends Project {
|
||||||
.withCredentials(property("sonatype.user"), property("sonatype.password"))
|
.withCredentials(property("sonatype.user"), property("sonatype.password"))
|
||||||
: repository(SONATYPE_RELEASES_LEGACY.location())
|
: repository(SONATYPE_RELEASES_LEGACY.location())
|
||||||
.withCredentials(property("sonatype.user"), property("sonatype.password")))
|
.withCredentials(property("sonatype.user"), property("sonatype.password")))
|
||||||
|
.repository(repository("github"))
|
||||||
.info()
|
.info()
|
||||||
.groupId("net.thauvin.erik")
|
.groupId("net.thauvin.erik")
|
||||||
.artifactId(name)
|
.artifactId(name)
|
||||||
|
@ -165,6 +166,12 @@ public class CryptoPriceBuild extends Project {
|
||||||
pomRoot();
|
pomRoot();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void publishLocal() throws Exception {
|
||||||
|
super.publishLocal();
|
||||||
|
pomRoot();
|
||||||
|
}
|
||||||
|
|
||||||
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
|
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
|
||||||
public void pomRoot() throws FileUtilsErrorException {
|
public void pomRoot() throws FileUtilsErrorException {
|
||||||
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),
|
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue