Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 21

- name: Cache Maven packages
uses: actions/cache@v4
Expand Down
6 changes: 3 additions & 3 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
org.eclipse.jdt.core.compiler.compliance=21
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.compiler.source=21
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,23 @@ Binary builds of Capsule are deployed in the usethesource repository. In case yo

Furthermore, you have to declare Capsule as a dependency.

To obtain the latest release for Java 11+, insert the following snippet in your `pom.xml` file:
To obtain the latest version for Java 21+, insert the following snippet in your `pom.xml` file:
```
<dependency>
<groupId>io.usethesource</groupId>
<artifactId>capsule</artifactId>
<version>0.8.0</version>
</dependency>
```


To obtain the latest available version for Java 11, insert the following snippet in your `pom.xml` file:

```
<dependency>
<groupId>io.usethesource</groupId>
<artifactId>capsule</artifactId>
<version>0.7.1</version>
<version>0.7.2</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ java {
withSourcesJar()

toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion.set(JavaLanguageVersion.of(21))
}
}

tasks.compileJava {
options.release.set(11)
options.release.set(21)
}

tasks.jar {
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.usethesource</groupId>
<artifactId>capsule</artifactId>
<version>0.7.3-SNAPSHOT</version>
<version>0.8.0-SNAPSHOT</version>
<packaging>jar</packaging>

<licenses>
Expand Down Expand Up @@ -37,7 +37,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
<release>21</release>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -71,7 +71,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<version>0.8.15</version>
<!-- <configuration>
<destfile>${topleveldir}/target/jacoco.exec</destfile>
<datafile>${topleveldir}/target/jacoco.exec</datafile>
Expand Down
Loading