1.0.1-SNAPSHOT

This commit is contained in:
Erik C. Thauvin 2024-09-20 22:43:10 -07:00
parent d13626fffe
commit 5d94921a82
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 8 additions and 1 deletions

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(),