Skip to content

Commit

Permalink
Update version to 0.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jwharm committed Jan 4, 2025
1 parent b1047c4 commit c82bf7c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

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

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.11.1'
implementation 'io.github.jwharm.javagi:gtk:0.11.2'
}
java {
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.11.1</version>
<version>0.11.2</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.11.1'
implementation 'io.github.jwharm.javagi:gtk:0.11.2'
}
```

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.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"
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,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).
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit c82bf7c

Please sign in to comment.