Improved testing of integer-type arguments

This commit is contained in:
Erik C. Thauvin 2024-05-22 11:35:36 -07:00
parent f8e4354e35
commit 37cdfd363d
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 21 additions and 5 deletions

View file

@ -65,6 +65,17 @@ public class CompileKotlinOptions {
return this;
}
/**
* Allow using declarations only from the specified version of Kotlin bundled libraries.
*
* @param version the api version
* @return this operation instance
*/
public CompileKotlinOptions apiVersion(int version) {
apiVersion_ = String.valueOf(version);
return this;
}
/**
* Read the compiler options from the given files.
* <p>