Skip to content

Commit 5d21c02

Browse files
CedNarupiiertho
andauthored
Bump to 0.10.0 (#701)
* Bump to 0.10.0 * Make all prints in the Kotlin library also work in the editor * Display warning if sources have been modified without building. * fix(ios): Add static moltenvk xcframework instead of dynamic to ios export * Change StringNameUtils to StringNames and add NodePaths to match with Java's utilities such as Arrays. --------- Co-authored-by: Pierre-Thomas Meisels <meisels27@yahoo.fr>
1 parent 04d5cf0 commit 5d21c02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+468
-243
lines changed

.github/workflows/assemble_export_templates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595

9696
- name: Create version.txt
9797
run: |
98-
refVersion=${{ inputs.godot-version }}
98+
refVersion=godot-kotlin-jvm-${{ inputs.godot-kotlin-jvm-version }}
9999
templatesVersion=${refVersion//-/.} #replace `-` with `.` in templates version
100100
echo "$templatesVersion" > templates/version.txt
101101
shell: bash

.github/workflows/assemble_ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Create iOS template app
5050
run: |
5151
cp -r misc/dist/ios_xcode .
52-
cp -r MoltenVK/Package/Release/MoltenVK/dynamic/MoltenVK.xcframework ios_xcode/
52+
cp -r MoltenVK/Package/Release/MoltenVK/static/MoltenVK.xcframework ios_xcode/
5353
cp libgodot.ios.template_release.arm64.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64/libgodot.a
5454
cp libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
5555
mv ios_xcode/ ios/ && cd ios/

.github/workflows/trigger_on_pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- run: |
1515
echo "Setup done"
1616
outputs: # defined here explicitly, so it only needs to be defined here. All other workflows can just reference it
17-
godot-kotlin-jvm-version: "0.9.1-4.3.0"
17+
godot-kotlin-jvm-version: "0.10.0-4.3.0"
1818
godot-version: "4.3-stable"
1919
jvm-version: "17"
2020

.github/workflows/trigger_on_push_master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- run: |
2020
echo "Setup done"
2121
outputs: # defined here explicitly, so it only needs to be defined here. All other workflows can just reference it
22-
godot-kotlin-jvm-version: "0.9.1-4.3.0"
22+
godot-kotlin-jvm-version: "0.10.0-4.3.0"
2323
godot-version: "4.3-stable"
2424
jvm-version: "17"
2525

.github/workflows/trigger_on_tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- run: |
2525
echo "Setup done"
2626
outputs: # defined here explicitly, so it only needs to be defined here. All other workflows can just reference it
27-
godot-kotlin-jvm-version: "0.9.1-4.3.0"
27+
godot-kotlin-jvm-version: "0.10.0-4.3.0"
2828
godot-version: "4.3-stable"
2929
jvm-version: "17"
3030

docs/src/doc/contribution/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Make sure that Java is installed and its `PATH` set in your system as well (**at
1515
Once you have all the necessary dependencies, proceed to do the following:
1616

1717
1. Clone Godot's repository with the stable tag you want to develop for. Notice that the branch tag must be
18-
aligned to the current binding's version (e.g., current version `0.9.1-4.3.0`, we need Godot at `4.3.0` version).
18+
aligned to the current binding's version (e.g., current version `0.10.0-4.3.0`, we need Godot at `4.3.0` version).
1919

2020
```bash
2121
git clone git@github.com:godotengine/godot.git --branch 4.3-stable --recursive

docs/src/doc/contribution/test-change-from-branch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In order to test a change from a specific branch in your own project, you'll nee
2929
}
3030
```
3131
13. Check the version name which you've built: `ls ~/.m2/repository/com/utopia-rise/godot-gradle-plugin/`
32-
It should be something like: `0.9.1-4.3.0-d68f299-SNAPSHOT`
32+
It should be something like: `0.10.0-4.3.0-d68f299-SNAPSHOT`
3333
14. Use that version in your project
3434
15. Build your project
3535
16. Run your project with the editor binary you've built in step 10

docs/src/doc/user-guide/advanced/graal-vm-native-image.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ On Windows, you should add `VC_VARS_PATH` environment variable to point to vcvar
1111
In order to build a native image, you should add the following configuration to gradle plugin to enable building of native-image:
1212
```kotlin
1313
godot {
14-
isGraalExportEnabled.set(true)
15-
graalVmDirectory.set(System.getenv("GRAALVM_HOME"))
16-
17-
windowsDeveloperVCVarsPath.set(System.getenv("VC_VARS_PATH"))
14+
isGraalNativeImageExportEnabled.set(true)
15+
graalVmDirectory.set(File(System.getenv("GRAALVM_HOME")))
16+
windowsDeveloperVCVarsPath.set(File(System.getenv("VC_VARS_PATH")))
1817
}
1918
```
2019

@@ -29,10 +28,10 @@ In order to append those configurations add the json in `graal` folder of your p
2928

3029
```kotlin
3130
godot {
32-
isGraalExportEnabled.set(true)
33-
graalVmDirectory.set(System.getenv("GRAALVM_HOME"))
31+
isGraalNativeImageExportEnabled.set(true)
32+
graalVmDirectory.set(File(System.getenv("GRAALVM_HOME")))
33+
windowsDeveloperVCVarsPath.set(File(System.getenv("VC_VARS_PATH")))
3434

35-
windowsDeveloperVCVarsPath.set(System.getenv("VC_VARS_PATH"))
3635
additionalGraalJniConfigurationFiles.set(arrayOf("my-jni-configuration-file.json", "another-conf.json"))
3736
additionalGraalReflectionConfigurationFiles.set(arrayOf("my-reflection-configuration-file.json", "another-conf.json"))
3837
}
@@ -42,10 +41,10 @@ The same applies for resource files which should be added (basically any files i
4241

4342
```kotlin
4443
godot {
45-
isGraalExportEnabled.set(true)
46-
nativeImageToolPath.set("${System.getenv("GRAALVM_HOME")}/bin/native-image")
44+
isGraalNativeImageExportEnabled.set(true)
45+
graalVmDirectory.set(File(System.getenv("GRAALVM_HOME")))
46+
windowsDeveloperVCVarsPath.set(File(System.getenv("VC_VARS_PATH")))
4747

48-
windowsDeveloperVCVarsPath.set(System.getenv("VC_VARS_PATH"))
4948
additionalGraalJniConfigurationFiles.set(arrayOf("my-jni-configuration-file.json", "another-conf.json"))
5049
additionalGraalReflectionConfigurationFiles.set(arrayOf("my-reflection-configuration-file.json", "another-conf.json"))
5150
additionalGraalResourceConfigurationFiles.set(arrayOf("my-resource-configuration-file.json", "another-conf.json"))
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The module uses semantic versioning for its own versions but adds a suffix for the supported Godot version:
22

3-
Full version: `0.9.1-4.3.0`
3+
Full version: `0.10.0-4.3.0`
44

5-
Module Version: `0.9.1`
5+
Module Version: `0.10.0`
66

77
Supported Godot Version: `4.3.0`

harness/tests/src/main/java/godot/tests/JavaTestClass.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ public String greeting() {
7272
@RegisterFunction
7373
public void connectAndTriggerSignal() {
7474
connect(
75-
StringNameUtils.asStringName("test_signal"),
76-
new NativeCallable(this, StringNameUtils.asStringName("signal_callback")),
75+
StringNames.asStringName("test_signal"),
76+
new NativeCallable(this, StringNames.asStringName("signal_callback")),
7777
(int) ConnectFlags.CONNECT_ONE_SHOT.getId()
7878
);
79-
emitSignal(StringNameUtils.asStringName("test_signal"));
79+
emitSignal(StringNames.asStringName("test_signal"));
8080
}
8181

8282
@NotNull

0 commit comments

Comments
 (0)