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