@@ -2,14 +2,14 @@ group = "id.oddbit.flutter.facebook_app_events"
22version = " 1.0-SNAPSHOT"
33
44buildscript {
5- ext. kotlin_version = " 1.8.22 "
5+ ext. kotlin_version = " 1.9.24 "
66 repositories {
77 google()
88 mavenCentral()
99 }
1010
1111 dependencies {
12- classpath(" com.android.tools.build:gradle:8.1.0 " )
12+ classpath(" com.android.tools.build:gradle:8.5.2 " )
1313 classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version " )
1414 }
1515}
@@ -26,20 +26,16 @@ apply plugin: "kotlin-android"
2626
2727android {
2828 namespace " id.oddbit.flutter.facebook_app_events"
29- // Conditional for compatibility with AGP < 4.2
30- if (project. android. hasProperty(" namespace" )) {
31- namespace " id.oddbit.flutter.facebook_app_events"
32- }
3329
3430 compileSdk = 34
3531
3632 compileOptions {
37- sourceCompatibility = JavaVersion . VERSION_1_8
38- targetCompatibility = JavaVersion . VERSION_1_8
33+ sourceCompatibility = JavaVersion . VERSION_17
34+ targetCompatibility = JavaVersion . VERSION_17
3935 }
4036
4137 kotlinOptions {
42- jvmTarget = JavaVersion . VERSION_1_8
38+ jvmTarget = " 17 "
4339 }
4440
4541 sourceSets {
@@ -55,16 +51,7 @@ android {
5551 }
5652
5753 dependencies {
58- // # READ THIS
59- // When updating the Facebook SDK. Please note these guidelines to avoid
60- // conflicts with other plugins that also rely on the FBSDK.
61- //
62- // - Only specify the major version of the SDK.
63- // - Do **not** specify the `minor` or `patch` version.
64- //
65- // About the version syntax:
66- // - https://github.com/oddbit/flutter_facebook_app_events/pull/189#discussion_r768267841
67- // - https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN402
54+ // Keep major-only range per repo guidelines.
6855 implementation(" com.facebook.android:facebook-android-sdk:[18.0,19.0)" )
6956 }
7057}
0 commit comments