From c82bf7c5b91accca578a70b45e132f243d92faeb Mon Sep 17 00:00:00 2001 From: Jan-Willem Harmannij Date: Sat, 4 Jan 2025 20:26:03 +0100 Subject: [PATCH] Update version to 0.11.2 --- README.md | 21 +++++++++++---------- docs/getting-started/getting_started_01.md | 2 +- docs/usage.md | 12 ++++++------ gradle/libs.versions.toml | 2 +- 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 4f7d48df..1dc0e39b 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,16 @@ **Java-GI** is a tool for generating GObject-Introspection bindings for Java. The generated bindings use the [Foreign Function & Memory API](https://openjdk.org/projects/panama/) (JEP 454) to access native resources from Java, 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 | +| Library | Version | +|---------------|---------| +| GLib | 2.82 | +| GTK | 4.16 | +| LibAdwaita | 1.6 | +| GStreamer | 1.24 | +| GtkSourceview | 5.14 | +| WebkitGtk | 2.46 | + +You can generate Java bindings for other libraries with the `java-gi` [command-line tool](https://jwharm.github.io/java-gi/generate/) on the GIR (introspection data) file. Please note that Java-GI is still under active development, and the API is subject to unannounced changes. Feedback is welcome! @@ -67,7 +68,7 @@ repositories { } dependencies { - implementation 'io.github.jwharm.javagi:gtk:0.11.1' + implementation 'io.github.jwharm.javagi:gtk:0.11.2' } ``` diff --git a/docs/getting-started/getting_started_01.md b/docs/getting-started/getting_started_01.md index cdfd380f..a24a6289 100644 --- a/docs/getting-started/getting_started_01.md +++ b/docs/getting-started/getting_started_01.md @@ -28,7 +28,7 @@ repositories { } dependencies { - implementation 'io.github.jwharm.javagi:gtk:0.11.1' + implementation 'io.github.jwharm.javagi:gtk:0.11.2' } java { diff --git a/docs/usage.md b/docs/usage.md index c0b5f4c5..76cf2c68 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -20,7 +20,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency: io.github.jwharm.javagi gtk - 0.11.1 + 0.11.2 ``` @@ -32,7 +32,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency: } dependencies { - implementation 'io.github.jwharm.javagi:gtk:0.11.1' + implementation 'io.github.jwharm.javagi:gtk:0.11.2' } ``` @@ -44,20 +44,20 @@ Next, add the dependencies. For example, to add Gtk as a dependency: } dependencies { - implementation("io.github.jwharm.javagi:gtk:0.11.1") + implementation("io.github.jwharm.javagi:gtk:0.11.2") } ``` === "Scala SBT" ```scala - libraryDependencies += "io.github.jwharm.javagi" % "gtk" % "0.11.1" + libraryDependencies += "io.github.jwharm.javagi" % "gtk" % "0.11.2" ``` === "Leiningen" ```clojure - [io.github.jwharm.javagi/gtk "0.11.1"] + [io.github.jwharm.javagi/gtk "0.11.2"] ``` === "bld" @@ -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,11,1))); + version(0,11,2))); ``` 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). diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b6e883d8..29cf25f4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -javagi = "0.11.2-SNAPSHOT" +javagi = "0.11.2" jdk = "22" cairo = "1.18.4.1" picocli = "4.7.6"