diff --git a/samples/admob/app_open_example/.gitignore b/samples/admob/app_open_example/.gitignore index 29a3a5017..79c113f9b 100644 --- a/samples/admob/app_open_example/.gitignore +++ b/samples/admob/app_open_example/.gitignore @@ -5,9 +5,11 @@ *.swp .DS_Store .atom/ +.build/ .buildlog/ .history .svn/ +.swiftpm/ migrate_working_dir/ # IntelliJ related diff --git a/samples/admob/app_open_example/android/app/build.gradle b/samples/admob/app_open_example/android/app/build.gradle index e5114805e..64a6a3bd4 100644 --- a/samples/admob/app_open_example/android/app/build.gradle +++ b/samples/admob/app_open_example/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace "com.example.app_open_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/app_open_example/pubspec.yaml b/samples/admob/app_open_example/pubspec.yaml index 1408a0aa9..a26ce9380 100644 --- a/samples/admob/app_open_example/pubspec.yaml +++ b/samples/admob/app_open_example/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 dev_dependencies: flutter_test: diff --git a/samples/admob/banner_example/.gitignore b/samples/admob/banner_example/.gitignore index 24476c5d1..6c319542b 100644 --- a/samples/admob/banner_example/.gitignore +++ b/samples/admob/banner_example/.gitignore @@ -5,9 +5,11 @@ *.swp .DS_Store .atom/ +.build/ .buildlog/ .history .svn/ +.swiftpm/ migrate_working_dir/ # IntelliJ related diff --git a/samples/admob/banner_example/android/app/build.gradle b/samples/admob/banner_example/android/app/build.gradle index 6007fea25..7f04198ad 100644 --- a/samples/admob/banner_example/android/app/build.gradle +++ b/samples/admob/banner_example/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace "com.example.banner_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/banner_example/pubspec.yaml b/samples/admob/banner_example/pubspec.yaml index dae4fbcfe..e9900e4ab 100644 --- a/samples/admob/banner_example/pubspec.yaml +++ b/samples/admob/banner_example/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 dev_dependencies: flutter_test: diff --git a/samples/admob/interstitial_example/.gitignore b/samples/admob/interstitial_example/.gitignore index 24476c5d1..6c319542b 100644 --- a/samples/admob/interstitial_example/.gitignore +++ b/samples/admob/interstitial_example/.gitignore @@ -5,9 +5,11 @@ *.swp .DS_Store .atom/ +.build/ .buildlog/ .history .svn/ +.swiftpm/ migrate_working_dir/ # IntelliJ related diff --git a/samples/admob/interstitial_example/android/app/build.gradle b/samples/admob/interstitial_example/android/app/build.gradle index 14eac3f3e..2c46f036b 100644 --- a/samples/admob/interstitial_example/android/app/build.gradle +++ b/samples/admob/interstitial_example/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace "com.example.interstitial_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/interstitial_example/pubspec.yaml b/samples/admob/interstitial_example/pubspec.yaml index c9ef23b4b..68637b5a3 100644 --- a/samples/admob/interstitial_example/pubspec.yaml +++ b/samples/admob/interstitial_example/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 dev_dependencies: flutter_test: diff --git a/samples/admob/mediation_example/android/app/build.gradle b/samples/admob/mediation_example/android/app/build.gradle index e0ee2265e..56a2c0c34 100644 --- a/samples/admob/mediation_example/android/app/build.gradle +++ b/samples/admob/mediation_example/android/app/build.gradle @@ -25,8 +25,9 @@ apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { + namespace "com.example.mediationexample" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). diff --git a/samples/admob/mediation_example/android/build.gradle b/samples/admob/mediation_example/android/build.gradle index 31ae933da..8f7e4949b 100644 --- a/samples/admob/mediation_example/android/build.gradle +++ b/samples/admob/mediation_example/android/build.gradle @@ -23,6 +23,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { - delete rootProject.buildDir +tasks.register("clean", Delete) { + delete rootProject.layout.buildDirectory } diff --git a/samples/admob/mediation_example/pubspec.yaml b/samples/admob/mediation_example/pubspec.yaml index e61c177c8..36496f641 100644 --- a/samples/admob/mediation_example/pubspec.yaml +++ b/samples/admob/mediation_example/pubspec.yaml @@ -23,7 +23,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 # The following adds the Cupertino Icons font to your application. diff --git a/samples/admob/native_platform_example/android/app/build.gradle b/samples/admob/native_platform_example/android/app/build.gradle index 8d4aba91a..fc7d924c9 100644 --- a/samples/admob/native_platform_example/android/app/build.gradle +++ b/samples/admob/native_platform_example/android/app/build.gradle @@ -26,8 +26,9 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { + namespace = "com.example.native_platform_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/native_platform_example/pubspec.yaml b/samples/admob/native_platform_example/pubspec.yaml index 5d2569840..8bfb3bf31 100644 --- a/samples/admob/native_platform_example/pubspec.yaml +++ b/samples/admob/native_platform_example/pubspec.yaml @@ -30,7 +30,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/samples/admob/native_template_example/android/app/build.gradle b/samples/admob/native_template_example/android/app/build.gradle index 20372d9ef..ca85deb43 100644 --- a/samples/admob/native_template_example/android/app/build.gradle +++ b/samples/admob/native_template_example/android/app/build.gradle @@ -26,8 +26,9 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { + namespace = "com.example.native_template_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/native_template_example/pubspec.yaml b/samples/admob/native_template_example/pubspec.yaml index 7c913abc8..b870c7a04 100644 --- a/samples/admob/native_template_example/pubspec.yaml +++ b/samples/admob/native_template_example/pubspec.yaml @@ -30,7 +30,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/samples/admob/rewarded_example/android/app/build.gradle b/samples/admob/rewarded_example/android/app/build.gradle index 0c60e66c5..45ddec980 100644 --- a/samples/admob/rewarded_example/android/app/build.gradle +++ b/samples/admob/rewarded_example/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace "com.example.rewarded_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/rewarded_example/pubspec.yaml b/samples/admob/rewarded_example/pubspec.yaml index 841f224ee..c17551f6c 100644 --- a/samples/admob/rewarded_example/pubspec.yaml +++ b/samples/admob/rewarded_example/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 dev_dependencies: flutter_test: diff --git a/samples/admob/rewarded_interstitial_example/android/app/build.gradle b/samples/admob/rewarded_interstitial_example/android/app/build.gradle index fd140ab5a..793b1d4c8 100644 --- a/samples/admob/rewarded_interstitial_example/android/app/build.gradle +++ b/samples/admob/rewarded_interstitial_example/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace "com.example.rewarded_interstitial_example" compileSdkVersion flutter.compileSdkVersion - ndkVersion = "26.1.10909125" + ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/samples/admob/rewarded_interstitial_example/pubspec.yaml b/samples/admob/rewarded_interstitial_example/pubspec.yaml index 7980a8743..4089266b2 100644 --- a/samples/admob/rewarded_interstitial_example/pubspec.yaml +++ b/samples/admob/rewarded_interstitial_example/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: flutter: sdk: flutter - google_mobile_ads: ^5.2.0 + google_mobile_ads: ^5.3.0 dev_dependencies: flutter_test: