Updated dependencies

Bumped Kotlin to version 2.0.21
Bumped JUnit to version 5.11.2
Bumped PMD extension to version 1.1.6
This commit is contained in:
Erik C. Thauvin 2024-10-10 13:15:11 -07:00
parent 6a508f1f68
commit 0aea2095cc
Signed by: erik
GPG key ID: 776702A6A2DA330E
5 changed files with 11 additions and 10 deletions

View file

@ -1,6 +1,6 @@
name: bld-ci
on: [ push, pull_request, workflow_dispatch ]
on: [push, pull_request, workflow_dispatch]
env:
KOTLIN_HOME: /usr/share/kotlinc
@ -11,8 +11,8 @@ jobs:
strategy:
matrix:
java-version: [ 17, 21, 22 ]
kotlin-version: [ 1.9.24, 2.0.0 ]
java-version: [17, 21, 22]
kotlin-version: [1.9.24, 2.0.21]
steps:
- name: Checkout source repository

1
.idea/misc.xml generated
View file

@ -13,6 +13,7 @@
<pattern value="rife.bld.extension.CompileKotlinOperationBuild" method="pmd" />
<pattern value="rife.bld.extension.kotlin.CompilerPlugin" />
<pattern value="rife.bld.extension.kotlin.CompilerPlugin" method="CompilerPlugin" />
<pattern value="rife.bld.extension.CompileKotlinOperationBuild" method="publishGitHub" />
</component>
<component name="PDMPlugin">
<option name="customRuleSets">

View file

@ -28,13 +28,13 @@ public class ExampleBuild extends Project {
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, RIFE2_RELEASES);
final var kotlin = version(2, 0, 20);
final var kotlin = version(2, 0, 21);
scope(compile)
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin));
scope(test)
.include(dependency("org.jetbrains.kotlin", "kotlin-test-junit5", kotlin))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 11, 0)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 0)));
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 11, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 2)));
// Include the Kotlin source directory when creating or publishing sources Java Archives
jarSourcesOperation().sourceDirectories(new File(srcMainDirectory(), "kotlin"));

View file

@ -4,7 +4,7 @@ bld.downloadLocation=
bld.javaOptions=
bld.javacOptions=
bld.extension-exec=com.uwyn.rife2:bld-exec:1.0.3
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.1.5
bld.extension-pmd=com.uwyn.rife2:bld-pmd:1.1.6
bld.repositories=MAVEN_CENTRAL,MAVEN_LOCAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.sourceDirectories=
bld.version=2.1.0

View file

@ -33,7 +33,7 @@ public class CompileKotlinOperationBuild extends Project {
public CompileKotlinOperationBuild() {
pkg = "rife.bld.extension";
name = "bld-kotlin";
version = version(1, 0, 2);
version = version(1, 0, 3, "SNAPSHOT");
javaRelease = 17;
@ -45,8 +45,8 @@ public class CompileKotlinOperationBuild extends Project {
scope(compile)
.include(dependency("com.uwyn.rife2", "bld", version(2, 1, 0)));
scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 11, 0)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 0)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 11, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 2)))
.include(dependency("org.assertj", "assertj-core", version(3, 26, 3)));
javadocOperation()