Skip to content

Commit

Permalink
Set version to 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jwharm committed Oct 30, 2024
1 parent 0cb6e45 commit ae20a88
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Java-GI

**Java-GI** is a tool for generating GObject-Introspection bindings for Java. The generated bindings use the new [Foreign Function & Memory API](https://openjdk.org/projects/panama/) (JEP 454) to directly access native resources from inside the JVM, with wrapper classes based on GObject-Introspection to offer an elegant API. Java-GI version 0.10 generates bindings to develop Java applications for libraries, based of the versions in GNOME Platform 46:

| Library | Java-GI 0.7.x | Java-GI 0.8.x and 0.9.x | Java-GI 0.10.x |
|---------------|---------------|-------------------------|----------------|
| OpenJDK | 20 | 21 | 22 |
| GLib | 2.76 | 2.78 | 2.80 |
| GTK | 4.10 | 4.12 | 4.14 |
| LibAdwaita | 1.3 | 1.4 | 1.5 |
| GStreamer | 1.20 | 1.22 | 1.22 |
| GtkSourceview | 5.9 | 5.10 | 5.12 |
| WebkitGtk | 2.41 | 2.42 | 2.44 |
**Java-GI** is a tool for generating GObject-Introspection bindings for Java. The generated bindings use the new [Foreign Function & Memory API](https://openjdk.org/projects/panama/) (JEP 454) to directly access native resources from inside the JVM, with wrapper classes based on GObject-Introspection to offer an elegant API. Java-GI version 0.11 generates bindings to develop Java applications for libraries, based of the versions in GNOME Platform 47:

| Library | Java-GI 0.11.x | Java-GI 0.10.x | Java-GI 0.8.x and 0.9.x | Java-GI 0.7.x |
|---------------|----------------|----------------|-------------------------|---------------|
| OpenJDK | 22 | 22 | 21 | 20 |
| GLib | 2.82 | 2.80 | 2.78 | 2.76 |
| GTK | 4.16 | 4.14 | 4.12 | 4.10 |
| LibAdwaita | 1.6 | 1.5 | 1.4 | 1.3 |
| GStreamer | 1.24 | 1.22 | 1.22 | 1.20 |
| GtkSourceview | 5.14 | 5.12 | 5.10 | 5.9 |
| WebkitGtk | 2.46 | 2.44 | 2.42 | 2.41 |

Please note that Java-GI is still under active development. The bindings should not be used in a production environment yet, and the API is subject to unannounced changes. However, feel free to try out the latest release; feedback is welcome.

Expand Down Expand Up @@ -67,7 +67,7 @@ repositories {
}
dependencies {
implementation 'io.github.jwharm.javagi:gtk:0.10.2'
implementation 'io.github.jwharm.javagi:gtk:0.11.0'
}
```

Expand Down Expand Up @@ -195,7 +195,7 @@ A class with a `@GtkTemplate` annotation will be registered as a Gtk composite t
@GtkTemplate(name="HelloWindow", ui="/my/example/hello-window.ui")
public class HelloWindow extends ApplicationWindow {

private static Type gtype = Types.register(HelloWindow.class);
private static Type gtype = TemplateTypes.register(HelloWindow.class);

@GtkChild(name="header_bar")
public HeaderBar header;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {
}

group = 'io.github.jwharm.javagi'
version = '0.11.0-SNAPSHOT'
version = '0.11.0'

java {
if (! System.getenv('CI')) {
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/getting_started_01.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repositories {
}
dependencies {
implementation 'io.github.jwharm.javagi:gtk:0.10.2'
implementation 'io.github.jwharm.javagi:gtk:0.11.0'
}
java {
Expand Down
22 changes: 11 additions & 11 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ Please note that Java-GI is still under active development. Feedback is welcome.

## Supported

Java-GI version 0.10 requires OpenJDK 22 or newer. Version 0.8.x and 0.9.x require OpenJDK 21, and version 0.7.2 works with OpenJDK 20. They have been built with the following library versions:

| Library | Java-GI 0.10.x | Java-GI 0.8.x and 0.9.x | Java-GI 0.7.x |
|---------------|----------------|-------------------------|---------------|
| OpenJDK | 22 | 21 | 20 |
| GLib | 2.80 | 2.78 | 2.76 |
| GTK | 4.14 | 4.12 | 4.10 |
| LibAdwaita | 1.5 | 1.4 | 1.3 |
| GStreamer | 1.22 | 1.22 | 1.20 |
| GtkSourceview | 5.12 | 5.10 | 5.9 |
| WebkitGtk | 2.44 | 2.42 | 2.41 |
Java-GI version 0.11 requires OpenJDK 22 or newer. Version 0.8.x and 0.9.x work with OpenJDK 21, and version 0.7.2 works with OpenJDK 20. They have been built with the following library versions:

| Library | Java-GI 0.11.x | Java-GI 0.10.x | Java-GI 0.8.x and 0.9.x | Java-GI 0.7.x |
|---------------|----------------|----------------|-------------------------|---------------|
| OpenJDK | 22 | 22 | 21 | 20 |
| GLib | 2.82 | 2.80 | 2.78 | 2.76 |
| GTK | 4.16 | 4.14 | 4.12 | 4.10 |
| LibAdwaita | 1.6 | 1.5 | 1.4 | 1.3 |
| GStreamer | 1.24 | 1.22 | 1.22 | 1.20 |
| GtkSourceview | 5.14 | 5.12 | 5.10 | 5.9 |
| WebkitGtk | 2.46 | 2.44 | 2.42 | 2.41 |

The Java bindings for these libraries are available from [Maven Central](https://central.sonatype.com/search?namespace=io.github.jwharm.javagi).

Expand Down
12 changes: 6 additions & 6 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency:
<dependency>
<groupId>io.github.jwharm.javagi</groupId>
<artifactId>gtk</artifactId>
<version>0.10.2</version>
<version>0.11.0</version>
</dependency>
```

Expand All @@ -32,7 +32,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency:
}

dependencies {
implementation 'io.github.jwharm.javagi:gtk:0.10.2'
implementation 'io.github.jwharm.javagi:gtk:0.11.0'
}
```

Expand All @@ -44,20 +44,20 @@ Next, add the dependencies. For example, to add Gtk as a dependency:
}

dependencies {
implementation("io.github.jwharm.javagi:gtk:0.10.2")
implementation("io.github.jwharm.javagi:gtk:0.11.0")
}
```

=== "Scala SBT"

```scala
libraryDependencies += "io.github.jwharm.javagi" % "gtk" % "0.10.2"
libraryDependencies += "io.github.jwharm.javagi" % "gtk" % "0.11.0"
```

=== "Leiningen"

```clojure
[io.github.jwharm.javagi/gtk "0.10.2"]
[io.github.jwharm.javagi/gtk "0.11.0"]
```

=== "bld"
Expand All @@ -67,7 +67,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency:
scope(main)
.include(dependency("io.github.jwharm.javagi",
"gtk",
version(0,10,2)));
version(0,11,0)));
```

This will add the Gtk bindings to the application's compile and runtime classpath. Other libraries, like `webkit`, `gst`, `adw` and `gtksourceview` can be included likewise. The complete list of available libraries is available [here](https://search.maven.org/search?q=io.github.jwharm.javagi).
Expand Down

0 comments on commit ae20a88

Please sign in to comment.