Compare commits

..

2 commits

Author SHA1 Message Date
9548f6150f
Version 0.9.7 2024-05-22 16:14:08 -07:00
9c99532298
Added support for the Power Assert compiler plugin 2024-05-22 15:53:16 -07:00
4 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.6 bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.7
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.downloadLocation= bld.downloadLocation=
bld.sourceDirectories= bld.sourceDirectories=

View file

@ -33,7 +33,7 @@ public class CompileKotlinOperationBuild extends Project {
public CompileKotlinOperationBuild() { public CompileKotlinOperationBuild() {
pkg = "rife.bld.extension"; pkg = "rife.bld.extension";
name = "bld-kotlin"; name = "bld-kotlin";
version = version(0, 9, 6); version = version(0, 9, 7);
javaRelease = 17; javaRelease = 17;
downloadSources = true; downloadSources = true;

View file

@ -30,6 +30,7 @@ public enum CompileKotlinPlugin {
KOTLINX_SERIALIZATION("^kotlinx-serialization-compiler-plugin-.*$"), KOTLINX_SERIALIZATION("^kotlinx-serialization-compiler-plugin-.*$"),
LOMBOK("^lombok-compiler-plugin-.*$"), LOMBOK("^lombok-compiler-plugin-.*$"),
NOARG("^noarg-compiler-plugin-.*$"), NOARG("^noarg-compiler-plugin-.*$"),
POWER_ASSERT("^power-assert-compiler-plugin-.*$"),
SAM_WITH_RECEIVER("^sam-with-receiver-compiler-plugin-.*$"); SAM_WITH_RECEIVER("^sam-with-receiver-compiler-plugin-.*$");
public final String label; public final String label;

View file

@ -109,7 +109,7 @@ class CompileKotlinOptionsTest {
args.add(options.args()); args.add(options.args());
args.add(options.apiVersion(11).jvmTarget(11).args()); args.add(options.apiVersion(11).jvmTarget(11).args());
for (var a: args) { for (var a : args) {
assertThat(a).hasSize(matches.size()); assertThat(a).hasSize(matches.size());
IntStream.range(0, a.size()).forEach(i -> assertThat(a.get(i)).isEqualTo(matches.get(i))); IntStream.range(0, a.size()).forEach(i -> assertThat(a.get(i)).isEqualTo(matches.get(i)));
} }