Skip to content

Commit 3d46ead

Browse files
committed
Update docs
1 parent ee271ac commit 3d46ead

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/getting-started/getting_started_01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repositories {
2828
}
2929
3030
dependencies {
31-
implementation 'org.java-gi:gtk:0.14.0'
31+
implementation 'org.java-gi:gtk:0.14.1'
3232
}
3333
3434
java {

docs/usage.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Required Java version
44

5-
To use Java-GI, download and install [JDK 22](https://jdk.java.net/22/) or newer. Java-GI uses the "Panama" Foreign Function & Memory API that is only available since JDK 22.
5+
To use Java-GI, download and install [OpenJDK](https://jdk.java.net/) version 22 or newer. (Java-GI uses the Foreign Function & Memory API introduced in JDK 22.)
66

77
## Dependencies
88

@@ -20,7 +20,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency:
2020
<dependency>
2121
<groupId>org.java-gi</groupId>
2222
<artifactId>gtk</artifactId>
23-
<version>0.14.0</version>
23+
<version>0.14.1</version>
2424
</dependency>
2525
```
2626

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

3434
dependencies {
35-
implementation 'org.java-gi:gtk:0.14.0'
35+
implementation 'org.java-gi:gtk:0.14.1'
3636
}
3737
```
3838

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

4646
dependencies {
47-
implementation("org.java-gi:gtk:0.14.0")
47+
implementation("org.java-gi:gtk:0.14.1")
4848
}
4949
```
5050

5151
=== "Scala SBT"
5252

5353
```scala
54-
libraryDependencies += "org.java-gi" % "gtk" % "0.14.0"
54+
libraryDependencies += "org.java-gi" % "gtk" % "0.14.1"
5555
```
5656

5757
=== "Leiningen"
5858

5959
```clojure
60-
[org.java-gi/gtk "0.14.0"]
60+
[org.java-gi/gtk "0.14.1"]
6161
```
6262

6363
=== "bld"
@@ -67,7 +67,7 @@ Next, add the dependencies. For example, to add Gtk as a dependency:
6767
scope(main)
6868
.include(dependency("org.java-gi",
6969
"gtk",
70-
version(0,14,0)));
70+
version(0,14,1)));
7171
```
7272

7373
This will add the Gtk bindings to the application's compile and runtime classpath. Other libraries, like `webkit`, `gstreamer`, `adw` and `gtksourceview` can be included likewise. The complete list of available libraries is available [here](https://search.maven.org/search?q=org.java-gi).
@@ -238,7 +238,7 @@ On most Linux distributions, Gtk will already be installed. Java-GI will load sh
238238

239239
### MacOS
240240

241-
On MacOS, you can install Gtk using Homebrew. Gtk needs to run on the main thread, therefore you need to set the parameter `-XstartOnFirstThread`. A complete Gradle `run` task will look like this:
241+
On MacOS, you can install Gtk using Homebrew. Gtk needs to run on the main thread, therefore you need to set the parameter `-XstartOnFirstThread`. A typical Gradle setup will look like this:
242242

243243
=== "Gradle (Groovy)"
244244

@@ -268,7 +268,7 @@ On MacOS, you can install Gtk using Homebrew. Gtk needs to run on the main threa
268268

269269
### Windows
270270

271-
On Windows, Gtk can be installed with MSYS2. A Gradle `run` task will look like this:
271+
On Windows, Gtk can be installed with MSYS2. A typical Gradle setup will look like this:
272272

273273
=== "Gradle (Groovy)"
274274

0 commit comments

Comments
 (0)