Skip to content

Commit

Permalink
Bumped Kotlin to version 1.9.24
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed May 9, 2024
1 parent b020ae4 commit d2dd66f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# mobibot

[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.23-7f52ff.svg)](https://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.24-7f52ff.svg)](https://kotlinlang.org)
[![bld](https://img.shields.io/badge/1.9.1-FA9052?label=bld&labelColor=2392FF)](https://rife2.com/bld)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_mobibot&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot)
[![GitHub CI](https://github.com/ethauvin/mobibot/actions/workflows/bld.yml/badge.svg)](https://github.com/ethauvin/mobibot/actions/workflows/bld.yml)
Expand Down
6 changes: 4 additions & 2 deletions src/bld/java/net/thauvin/erik/MobibotBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

public class MobibotBuild extends Project {
private static final String DETEKT_BASELINE = "config/detekt/baseline.xml";
final File srcMainKotlin = new File(srcMainDirectory(), "kotlin");

public MobibotBuild() {
pkg = "net.thauvin.erik.mobibot";
Expand All @@ -77,7 +78,7 @@ public MobibotBuild() {
SONATYPE_SNAPSHOTS_LEGACY);

var log4j = version(2, 23, 1);
var kotlin = version(1, 9, 23);
var kotlin = version(1, 9, 24);
scope(compile)
// PircBotX
.include(dependency("com.github.pircbotx", "pircbotx", "2.3.1"))
Expand Down Expand Up @@ -124,7 +125,7 @@ public MobibotBuild() {
.manifestAttribute(Attributes.Name.MAIN_CLASS, mainClass())
.manifestAttribute(Attributes.Name.CLASS_PATH, ". " + String.join(" ", jars));

jarSourcesOperation().sourceDirectories(new File(srcMainDirectory(), "kotlin"));
jarSourcesOperation().sourceDirectories(srcMainKotlin);
}

public static void main(String[] args) {
Expand Down Expand Up @@ -182,6 +183,7 @@ public void detektBaseline() throws ExitStatusException, IOException, Interrupte
public void jacoco() throws IOException {
new JacocoReportOperation()
.fromProject(this)
.sourceFiles(srcMainKotlin)
.execute();
}

Expand Down

0 comments on commit d2dd66f

Please sign in to comment.