Skip to content

Commit

Permalink
Bumped dependencies versions
Browse files Browse the repository at this point in the history
Bumped Kotlin to version 2.0.0
Bumped Gson to version 2.11.0
Bumped VertexAI (Gemini) to version 1.4.0
  • Loading branch information
ethauvin committed May 27, 2024
1 parent 3f7fb10 commit 3419e12
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 29 deletions.
16 changes: 1 addition & 15 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.24-7f52ff.svg)](https://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/kotlin-2.0.0-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
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<version>2.11.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -54,31 +54,31 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-vertexai</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.9.24</version>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-common</artifactId>
<version>1.9.24</version>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk7</artifactId>
<version>1.9.24</version>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.9.24</version>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
14 changes: 7 additions & 7 deletions src/bld/java/net/thauvin/erik/MobibotBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public MobibotBuild() {
SONATYPE_SNAPSHOTS_LEGACY);

var log4j = version(2, 23, 1);
var kotlin = version(1, 9, 24);
var kotlin = version(2, 0, 0);
scope(compile)
// PircBotX
.include(dependency("com.github.pircbotx", "pircbotx", "2.3.1"))
Expand All @@ -88,9 +88,9 @@ public MobibotBuild() {
.include(dependency("commons-codec", "commons-codec", "1.17.0"))
.include(dependency("commons-net", "commons-net", "3.10.0"))
// Google
.include(dependency("com.google.code.gson", "gson", "2.10.1"))
.include(dependency("com.google.code.gson", "gson", "2.11.0"))
.include(dependency("com.google.guava", "guava", "33.2.0-jre"))
.include(dependency("com.google.cloud", "google-cloud-vertexai", "1.3.0"))
.include(dependency("com.google.cloud", "google-cloud-vertexai", "1.4.0"))
// Kotlin
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin))
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib-common", kotlin))
Expand Down Expand Up @@ -153,7 +153,7 @@ public void compile() throws Exception {
@Override
public void updates() throws Exception {
super.updates();
rootPom();
pomRoot();
}

@BuildCommand(summary = "Copies all needed files to the deploy directory")
Expand Down Expand Up @@ -203,13 +203,13 @@ public void releaseInfo() {
.classTemplate(new File(workDirectory(), "release-info.txt"))
.className("ReleaseInfo")
.packageName(pkg)
.directory(new File(srcMainDirectory(), "kotlin"))
.directory(srcMainKotlin)
.extension(".kt")
.execute();
}

@BuildCommand(value = "root-pom", summary = "Generates the POM file in the root directory")
public void rootPom() throws FileUtilsErrorException {
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
public void pomRoot() throws FileUtilsErrorException {
PomBuilder.generateInto(publishOperation().info(), dependencies(),
Path.of(workDirectory.getPath(), "pom.xml").toFile());
}
Expand Down

0 comments on commit 3419e12

Please sign in to comment.