Skip to content

Commit

Permalink
godot 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonavichus committed Aug 17, 2024
1 parent 306e6d1 commit 0d813b5
Show file tree
Hide file tree
Showing 12 changed files with 271 additions and 19 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

252 changes: 252 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions GodotAndroidVkAds/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ android {
}

dependencies {
implementation("com.my.target:mytarget-sdk:5.21.0") // Vk mobile ads
implementation("org.godotengine:godot:4.2.2.stable") // Godot
implementation("androidx.test.ext:junit:1.1.5")
implementation("com.my.target:mytarget-sdk:5.22.1") // Vk mobile ads
implementation("org.godotengine:godot:4.3.0.stable") // Godot
implementation("androidx.test.ext:junit:1.2.1")
}

val copyDebugAARToPluginAddons by tasks.registering(Copy::class) {
Expand Down
4 changes: 2 additions & 2 deletions GodotAndroidVkAds/export_scripts/export_plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ class AndroidExportPlugin extends EditorExportPlugin:

func _get_android_dependencies(platform, debug):
if debug:
return PackedStringArray(["com.my.target:mytarget-sdk:5.21.0"])
return PackedStringArray(["com.my.target:mytarget-sdk:5.22.1"])
else:
return PackedStringArray(["com.my.target:mytarget-sdk:5.21.0"])
return PackedStringArray(["com.my.target:mytarget-sdk:5.22.1"])


func _get_name():
Expand Down
2 changes: 1 addition & 1 deletion GodotAndroidVkAds/export_scripts/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ name="GodotAndroidVkAds"
platform="Android"
description="Vk plugin for advertising in Godot"
author="Noctis Salamandra"
version="1.0"
version="1.1"
script="export_plugin.gd"
Binary file added GodotAndroidVkAds/plugin/addons.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,13 @@ class AndroidExportPlugin extends EditorExportPlugin:
else:
return PackedStringArray([_plugin_name + "/bin/release/" + _plugin_name + "-release.aar"])


func _get_android_dependencies(platform, debug):
if debug:
return PackedStringArray(["com.my.target:mytarget-sdk:5.22.1"])
else:
return PackedStringArray(["com.my.target:mytarget-sdk:5.22.1"])


func _get_name():
return _plugin_name
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ name="GodotAndroidVkAds"
platform="Android"
description="Vk plugin for advertising in Godot"
author="Noctis Salamandra"
version="1.0"
version="1.1"
script="export_plugin.gd"
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ And insert the ID of your ad.

In build.gradle along the way "android/build/build.gradle" add the following code:

```
dependencies {
...
implementation "com.my.target:mytarget-sdk:5.21.0"
}
```

```
android {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.library") version "8.4.2" apply false
id("com.android.library") version "8.5.2" apply false
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Jun 10 20:54:21 MSK 2024
#Sat Aug 17 11:43:27 MSK 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 0d813b5

Please sign in to comment.