Skip to content

Commit

Permalink
Android: Bump Unity to 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Dec 24, 2022
1 parent e540708 commit 356e52f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plugins/2019.3497/android/corona.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ android.defaultConfig {
ext["minSdkVersion"] = Math.max(ext.find("minSdkVersion")?:15, 19)

dependencies {
implementation 'com.unity3d.ads:unity-ads:4.4.1'
implementation 'com.unity3d.ads:unity-ads:4.5.0'
}
4 changes: 2 additions & 2 deletions src/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ if (configureCoronaPlugins == "YES") {
//</editor-fold>

android {
compileSdkVersion(29)
compileSdkVersion(30)
defaultConfig {
applicationId = coronaAppPackage
targetSdkVersion(29)
targetSdkVersion(30)
minSdkVersion(coronaMinSdkVersion)
versionCode = coronaVersionCode
versionName = coronaVersionName
Expand Down
2 changes: 1 addition & 1 deletion src/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}
dependencies {
classpath(kotlin("gradle-plugin", version = "1.3.70"))
classpath("com.android.tools.build:gradle:3.5.4")
classpath("com.android.tools.build:gradle:4.0.2")
classpath("com.beust:klaxon:5.0.1")
}
}
Expand Down
1 change: 1 addition & 0 deletions src/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
coronaTargetStore=google
android.useAndroidX=true
6 changes: 3 additions & 3 deletions src/android/plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 29
compileSdkVersion 30

defaultConfig {
minSdkVersion 19
targetSdkVersion 29
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
}

dependencies {
implementation ':Corona@aar'
implementation 'com.unity3d.ads:unity-ads:4.4.1'
implementation 'com.unity3d.ads:unity-ads:4.5.0'
}

task extractPluginJar() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
@SuppressWarnings({"unused", "RedundantSuppression"})
public class LuaLoader implements JavaFunction, CoronaRuntimeListener {
private static final String PLUGIN_NAME = "plugin.unityads.v4";
private static final String PLUGIN_VERSION = "1.0.0";
private static final String PLUGIN_VERSION = "1.0.1";
private static final String PLUGIN_SDK_VERSION = UnityAds.getVersion();

private static final String EVENT_NAME = "adsRequest";
Expand Down

0 comments on commit 356e52f

Please sign in to comment.