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 a5c6a08 commit 37c4363
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 27 deletions.
11 changes: 0 additions & 11 deletions .idea/other.xml

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

4 changes: 2 additions & 2 deletions GodotAndroidYandexAds/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ android {
}

dependencies {
implementation("com.yandex.android:mobileads:7.2.0") // Yandex mobile ads
implementation("com.yandex.android:mobileads:7.3.0") // Yandex mobile ads
implementation("io.appmetrica.analytics:analytics:7.0.0") // Yandex metrics
implementation("org.godotengine:godot:4.2.2.stable") // Godot
implementation("org.godotengine:godot:4.3.0.stable") // Godot
implementation("androidx.test.ext:junit:1.2.1")
}

Expand Down
4 changes: 2 additions & 2 deletions GodotAndroidYandexAds/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.yandex.android:mobileads:7.1.0"])
return PackedStringArray(["com.yandex.android:mobileads:7.3.0"])
else:
return PackedStringArray(["com.yandex.android:mobileads:7.1.0"])
return PackedStringArray(["com.yandex.android:mobileads:7.3.0"])


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


func _get_android_dependencies(platform, debug):
if debug:
return PackedStringArray(["com.yandex.android:mobileads:7.3.0"])
else:
return PackedStringArray(["com.yandex.android:mobileads:7.3.0"])


func _get_name():
return _plugin_name
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ name="GodotAndroidYandexAds"
platform="Android"
description="Yandex 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.yandex.android:mobileads:7.1.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.5.1" 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 @@
#Sun Jul 21 12:35:04 MSK 2024
#Sat Aug 17 11:36:54 MSK 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 37c4363

Please sign in to comment.