Skip to content

Commit

Permalink
Upgraded to Kotlin 1.9.21
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Nov 24, 2023
1 parent d96b787 commit aa47f3d
Show file tree
Hide file tree
Showing 22 changed files with 239 additions and 36 deletions.
1 change: 1 addition & 0 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,5 +1,5 @@
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-3-Clause)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.20-7f52ff)](https://kotlinlang.org/)
[![Kotlin](https://img.shields.io/badge/kotlin-1.9.21-7f52ff)](https://kotlinlang.org/)
[![Nexus Snapshot](https://img.shields.io/nexus/s/net.thauvin.erik/isgd-shorten?label=snapshot&server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/isgd-shorten/)
[![release](https://img.shields.io/github/release/ethauvin/isgd-shorten.svg)](https://github.com/ethauvin/isgd-shorten/releases/latest)
[![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/isgd-shorten.svg?color=blue)](https://central.sonatype.com/artifact/net.thauvin.erik/isgd-shorten)
Expand Down
4 changes: 2 additions & 2 deletions examples/bld/README.md
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down
6 changes: 0 additions & 6 deletions examples/bld/src/bld/java/com/example/ExampleBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
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;
Expand Down Expand Up @@ -36,11 +35,6 @@ public static void main(String[] args) {
public void compile() throws Exception {
new CompileKotlinOperation()
.fromProject(this)
.compileOptions(
new CompileKotlinOptions()
.jdkRelease(javaRelease)
.verbose(true)
)
.execute();

// Also compile the Java source code
Expand Down
2 changes: 1 addition & 1 deletion examples/gradle/.idea/.name

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

1 change: 1 addition & 0 deletions examples/gradle/.idea/gradle.xml

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

2 changes: 1 addition & 1 deletion examples/gradle/.idea/kotlinc.xml

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

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

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

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

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

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

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

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

10 changes: 10 additions & 0 deletions examples/gradle/.idea/modules.xml

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

12 changes: 12 additions & 0 deletions examples/gradle/.idea/modules/isgd-examples.iml

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

53 changes: 53 additions & 0 deletions examples/gradle/.idea/modules/isgd-examples.main.iml

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

53 changes: 53 additions & 0 deletions examples/gradle/.idea/modules/isgd-examples.test.iml

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

4 changes: 2 additions & 2 deletions examples/gradle/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## Kotlin Example
To compile & run the Kotlin example:

```text
```console
./gradlew run --args='https://www.example.com https://is.gd/Pt2sET'
```

## Java Example

To compile & run the Java example:

```text
```console
./gradlew runJava --args='https://www.example.com https://is.gd/Pt2sET'
```
4 changes: 2 additions & 2 deletions examples/gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("application")
id("com.github.ben-manes.versions") version "0.49.0"
kotlin("jvm") version "1.9.20"
id("com.github.ben-manes.versions") version "0.50.0"
kotlin("jvm") version "1.9.21"
}

repositories {
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>1.9.20</version>
<version>1.9.21</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -37,7 +37,7 @@
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/ethauvin/isgd-shorten</connection>
<connection>scm:git:https://github.com/ethauvin/isgd-shorten.git</connection>
<developerConnection>scm:git:[email protected]:ethauvin/isgd-shorten.git</developerConnection>
<url>https://github.com/ethauvin/isgd-shorten</url>
</scm>
Expand Down
Loading

0 comments on commit aa47f3d

Please sign in to comment.