Bumped Kotlin to version 1.9.24
This commit is contained in:
parent
c4227d23f7
commit
778c6f22ad
6 changed files with 9 additions and 8 deletions
|
@ -55,6 +55,7 @@ import static rife.bld.dependencies.Scope.compile;
|
|||
import static rife.bld.dependencies.Scope.test;
|
||||
|
||||
public class IsgdShortenBuild extends Project {
|
||||
final File srcMainKotlin = new File(srcMainDirectory(), "kotlin");
|
||||
public IsgdShortenBuild() {
|
||||
pkg = "net.thauvin.erik";
|
||||
name = "isgd-shorten";
|
||||
|
@ -66,12 +67,11 @@ public class IsgdShortenBuild extends Project {
|
|||
|
||||
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL);
|
||||
|
||||
final var kotlin = version(1, 9, 22);
|
||||
final var kotlin = version(1, 9, 24);
|
||||
scope(compile)
|
||||
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin))
|
||||
.include(dependency("net.thauvin.erik.urlencoder", "urlencoder-lib-jvm", version(1, 4, 0)));
|
||||
scope(test)
|
||||
.include(dependency("org.jetbrains.kotlin", "kotlin-test-junit5", version(1, 9, 22)))
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 2)))
|
||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 2)))
|
||||
.include(dependency("com.willowtreeapps.assertk", "assertk-jvm", version(0, 28, 0)));
|
||||
|
@ -107,7 +107,7 @@ public class IsgdShortenBuild extends Project {
|
|||
.signKey(property("sign.key"))
|
||||
.signPassphrase(property("sign.passphrase"));
|
||||
|
||||
jarSourcesOperation().sourceDirectories(new File(srcMainDirectory(), "kotlin"));
|
||||
jarSourcesOperation().sourceDirectories(srcMainKotlin);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@ -143,6 +143,7 @@ public class IsgdShortenBuild extends Project {
|
|||
public void jacoco() throws IOException {
|
||||
new JacocoReportOperation()
|
||||
.fromProject(this)
|
||||
.sourceFiles(srcMainKotlin)
|
||||
.execute();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue