Upgraded to Kotlin 1.9.21
This commit is contained in:
parent
d96b787743
commit
aa47f3d57d
22 changed files with 239 additions and 36 deletions
|
@ -1,7 +1,7 @@
|
|||
## Kotlin Example
|
||||
To compile & run the Kotlin example:
|
||||
|
||||
```text
|
||||
```console
|
||||
./bld compile
|
||||
|
||||
./bld run --args='https://www.example.com https://is.gd/Pt2sET'
|
||||
|
@ -10,7 +10,7 @@ To compile & run the Kotlin example:
|
|||
## Java Example
|
||||
To compile & run the Java example:
|
||||
|
||||
```text
|
||||
```console
|
||||
./bld compile
|
||||
|
||||
./bld run-java --args='https://www.example.com https://is.gd/Pt2sET'
|
||||
|
|
|
@ -3,7 +3,6 @@ package com.example;
|
|||
import rife.bld.BaseProject;
|
||||
import rife.bld.BuildCommand;
|
||||
import rife.bld.extension.CompileKotlinOperation;
|
||||
import rife.bld.extension.CompileKotlinOptions;
|
||||
import rife.bld.operations.RunOperation;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -36,11 +35,6 @@ public class ExampleBuild extends BaseProject {
|
|||
public void compile() throws Exception {
|
||||
new CompileKotlinOperation()
|
||||
.fromProject(this)
|
||||
.compileOptions(
|
||||
new CompileKotlinOptions()
|
||||
.jdkRelease(javaRelease)
|
||||
.verbose(true)
|
||||
)
|
||||
.execute();
|
||||
|
||||
// Also compile the Java source code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue