Minor cleanup

This commit is contained in:
Erik C. Thauvin 2023-11-08 16:56:31 -08:00
parent 31cb262752
commit e1ea7b0252
4 changed files with 39 additions and 43 deletions

View file

@ -8,8 +8,7 @@ import rife.bld.operations.RunOperation;
import java.util.List;
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
import static rife.bld.dependencies.Repository.MAVEN_LOCAL;
import static rife.bld.dependencies.Repository.*;
import static rife.bld.dependencies.Scope.compile;
public class ReadingTimeExampleBuild extends BaseProject {
@ -23,11 +22,11 @@ public class ReadingTimeExampleBuild extends BaseProject {
javaRelease = 11;
downloadSources = true;
autoDownloadPurge = true;
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL);
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, SONATYPE_SNAPSHOTS_LEGACY);
scope(compile)
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", version(1, 9, 20)))
.include(dependency("net.thauvin.erik", "readingtime", version(0, 9, 2, "SNAPSHOT")));
.include(dependency("net.thauvin.erik", "readingtime", version(0, 9, 1)));
}
public static void main(String[] args) {