Skip to content

Commit

Permalink
Merge pull request #60 from m4gr3d/fix_common_dependency
Browse files Browse the repository at this point in the history
Fix maven dependency resolution issue
  • Loading branch information
BastiaanOlij authored Nov 28, 2023
2 parents a63ecc7 + 7c11762 commit c06c2c3
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 77 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ devices (e.g: Meta, Pico devices) and access vendor-specific OpenXR extensions
**Note:**

Version `2.x` of this plugin requires **Godot 4.2**.
Check the [`1.x` branch](https://github.com/GodotVR/godot_openxr_loaders/tree/1.x) and releases
Check the [`1.x` branch](https://github.com/GodotVR/godot_openxr_vendors/tree/1.x) and releases
for support on prior versions of Godot 4.

## Building this asset
Expand Down Expand Up @@ -52,10 +52,10 @@ gradlew.bat build

## Downloading this asset

It is possible to download compiled assets that have been released from [releases](https://github.com/GodotVR/godot_openxr_loaders/releases).
It is possible to download compiled assets that have been released from [releases](https://github.com/GodotVR/godot_openxr_vendors/releases).
The latest official release will be made available in Godot's asset library.

Work in progress builds are available under [actions](https://github.com/GodotVR/godot_openxr_loaders/actions).
Work in progress builds are available under [actions](https://github.com/GodotVR/godot_openxr_vendors/actions).

## Using this asset

Expand Down
1 change: 0 additions & 1 deletion common/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions common/build.gradle

This file was deleted.

4 changes: 0 additions & 4 deletions common/src/main/AndroidManifest.xml

This file was deleted.

7 changes: 3 additions & 4 deletions config.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
final snapshotGodotAndroidLib = "org.godotengine:godot:4.2.0.beta-SNAPSHOT"
final stableGodotAndroidLib = "org.godotengine:godot:4.1.0.stable"
final snapshotGodotAndroidLib = "org.godotengine:godot:4.2.0.rc-SNAPSHOT"
final stableGodotAndroidLib = "org.godotengine:godot:4.2.0.stable"

ext {
versions = [
Expand All @@ -9,8 +9,7 @@ ext {
targetSdk : 33,
javaVersion : JavaVersion.VERSION_17,
nexusPublishVersion : '1.3.0',
kotlinVersion : '1.7.22',
coreKtxVersion : '1.12.0',
kotlinVersion : '1.7.0',
cmakeVersion : '3.22.1',
]

Expand Down
4 changes: 2 additions & 2 deletions demo/addons/godotopenxrvendors/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

name="GodotOpenXRVendors"
description="Godot OpenXR Vendors plugin"
author="https://github.com/GodotVR/godot_openxr_loaders/blob/master/CONTRIBUTORS.md"
version="2.0.0-stable"
author="https://github.com/GodotVR/godot_openxr_vendors/blob/master/CONTRIBUTORS.md"
version="2.0.1-stable"
script="godot_openxr_export_plugin.gd"
2 changes: 0 additions & 2 deletions demo/main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.005)
screen_size = Vector2(0.35, 0.25)
enabled = false
scene = ExtResource("3_45w5g")
alpha_scissor_threshold = 0.25
unshaded = true
filter = true

[node name="RightHand" type="XRController3D" parent="XROrigin3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.478861, 0.468292, -0.241097)
Expand Down
13 changes: 7 additions & 6 deletions demo/viewport_2d_in_3d.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@
resource_local_to_scene = true
size = Vector2(3, 2)

[sub_resource type="ViewportTexture" id="ViewportTexture_jkt4l"]
[sub_resource type="ViewportTexture" id="ViewportTexture_ytdr3"]
viewport_path = NodePath("Viewport")

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qvuhp"]
resource_local_to_scene = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_vi86x"]
transparency = 1
cull_mode = 2
shading_mode = 0
albedo_texture = SubResource("ViewportTexture_jkt4l")
albedo_texture = SubResource("ViewportTexture_ytdr3")
texture_filter = 1

[node name="Viewport2Din3D" type="Node3D"]
script = ExtResource("1_g46wu")
alpha_scissor_threshold = 0.25
unshaded = false
filter = true

[node name="Viewport" type="SubViewport" parent="."]
disable_3d = true
Expand All @@ -29,4 +30,4 @@ render_target_update_mode = 1

[node name="Screen" type="MeshInstance3D" parent="."]
mesh = SubResource("QuadMesh_o4aht")
surface_material_override/0 = SubResource("StandardMaterial3D_qvuhp")
surface_material_override/0 = SubResource("StandardMaterial3D_vi86x")
3 changes: 0 additions & 3 deletions godotopenxrkhronos/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ android {
}

dependencies {
implementation project(":common")

implementation "androidx.core:core-ktx:$versions.coreKtxVersion"
compileOnly libraries.godotAndroidLib
}

Expand Down
3 changes: 0 additions & 3 deletions godotopenxrlynx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ android {
}

dependencies {
implementation project(":common")

implementation "androidx.core:core-ktx:$versions.coreKtxVersion"
compileOnly libraries.godotAndroidLib
}

Expand Down
3 changes: 0 additions & 3 deletions godotopenxrmeta/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ android {
}

dependencies {
implementation project(":common")

implementation "androidx.core:core-ktx:$versions.coreKtxVersion"
compileOnly libraries.godotAndroidLib
}

Expand Down
3 changes: 0 additions & 3 deletions godotopenxrpico/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ android {
}

dependencies {
implementation project(":common")

implementation "androidx.core:core-ktx:$versions.coreKtxVersion"
compileOnly libraries.godotAndroidLib
}

Expand Down
10 changes: 5 additions & 5 deletions scripts/publish-module.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ afterEvaluate {
pom {
name = PUBLISH_ARTIFACT_ID
description = 'Godot OpenXR Vendors'
url = 'https://github.com/GodotVR/godot_openxr_loaders#readme'
url = 'https://github.com/GodotVR/godot_openxr_vendors#readme'
licenses {
license {
name = 'MIT License'
url = 'https://github.com/GodotVR/godot_openxr_loaders/blob/master/LICENSE'
url = 'https://github.com/GodotVR/godot_openxr_vendors/blob/master/LICENSE'
}
}
developers {
Expand All @@ -50,9 +50,9 @@ afterEvaluate {

// Version control info - if you're using GitHub, follow the format as seen here
scm {
connection = 'scm:git:github.com/GodotVR/godot_openxr_loaders.git'
developerConnection = 'scm:git:ssh://github.com/GodotVR/godot_openxr_loaders.git'
url = 'https://github.com/GodotVR/godot_openxr_loaders/tree/master'
connection = 'scm:git:github.com/GodotVR/godot_openxr_vendors.git'
developerConnection = 'scm:git:ssh://github.com/GodotVR/godot_openxr_vendors.git'
url = 'https://github.com/GodotVR/godot_openxr_vendors/tree/master'
}
}
}
Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ dependencyResolutionManagement {
}
}
rootProject.name = "GodotOpenXRVendors"
include ':common'
include ':godotopenxrmeta', ':godotopenxrpico', ':godotopenxrkhronos', ':godotopenxrlynx'

0 comments on commit c06c2c3

Please sign in to comment.