Compare commits
2 commits
068ba7b6e5
...
8537c8a436
Author | SHA1 | Date | |
---|---|---|---|
8537c8a436 | |||
23797a2a04 |
3 changed files with 11 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# mobibot
|
||||
|
||||
[](https://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://kotlinlang.org)
|
||||
[](https://kotlinlang.org)
|
||||
[](https://rife2.com/bld)
|
||||
[](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot)
|
||||
[](https://github.com/ethauvin/mobibot/actions/workflows/bld.yml)
|
||||
|
|
10
pom.xml
10
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>net.thauvin.erik.mobibot</groupId>
|
||||
<artifactId>mobibot</artifactId>
|
||||
<version>0.8.0-rc+20250318045311</version>
|
||||
<version>0.8.0-rc+20250320103735</version>
|
||||
<name>mobibot</name>
|
||||
<description></description>
|
||||
<url></url>
|
||||
|
@ -54,25 +54,25 @@
|
|||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-stdlib</artifactId>
|
||||
<version>2.1.10</version>
|
||||
<version>2.1.20</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-stdlib-common</artifactId>
|
||||
<version>2.1.10</version>
|
||||
<version>2.1.20</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-stdlib-jdk7</artifactId>
|
||||
<version>2.1.10</version>
|
||||
<version>2.1.20</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
||||
<version>2.1.10</version>
|
||||
<version>2.1.20</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -38,6 +38,7 @@ import rife.bld.extension.CompileKotlinOperation;
|
|||
import rife.bld.extension.DetektOperation;
|
||||
import rife.bld.extension.GeneratedVersionOperation;
|
||||
import rife.bld.extension.JacocoReportOperation;
|
||||
import rife.bld.extension.kotlin.CompileOptions;
|
||||
import rife.bld.operations.exceptions.ExitStatusException;
|
||||
import rife.bld.publish.PomBuilder;
|
||||
import rife.tools.FileUtils;
|
||||
|
@ -77,7 +78,7 @@ public class MobibotBuild extends Project {
|
|||
SONATYPE_SNAPSHOTS_LEGACY);
|
||||
|
||||
var log4j = version(2, 24, 3);
|
||||
var kotlin = version(2, 1, 10);
|
||||
var kotlin = version(2, 1, 20);
|
||||
var langchain = version(0, 36, 2);
|
||||
scope(compile)
|
||||
// PircBotX
|
||||
|
@ -153,10 +154,12 @@ public class MobibotBuild extends Project {
|
|||
@Override
|
||||
public void compile() throws Exception {
|
||||
releaseInfo();
|
||||
final var options = new CompileOptions();
|
||||
options.verbose(true).jvmOptions().add("--enable-native-access=ALL-UNNAMED");
|
||||
var op = new CompileKotlinOperation()
|
||||
.kotlinHome("/opt/kotlinc/")
|
||||
.compileOptions(options)
|
||||
.fromProject(this);
|
||||
op.compileOptions().verbose(true);
|
||||
op.execute();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue