Skip to content

Commit

Permalink
feat(android, sdks): use facebook-android-sdk v12+, target/compile SD…
Browse files Browse the repository at this point in the history
…K 31
  • Loading branch information
mikehardy committed Nov 9, 2021
1 parent a4e49ca commit 666ce0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.android.tools.build:gradle:7.0.3'
}
}
}

apply plugin: 'com.android.library'

android {
compileSdkVersion safeExtGet('compileSdkVersion', 28)
compileSdkVersion safeExtGet('compileSdkVersion', 31)
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 28)
targetSdkVersion safeExtGet('targetSdkVersion', 31)
}
lintOptions {
abortOnError false
Expand All @@ -40,11 +40,11 @@ repositories {
// Android JSC is installed from npm
url "$rootDir/../node_modules/jsc-android/dist"
}
mavenCentral()
google()
jcenter()
}

def FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '9.0.+')
def FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '12.+')

dependencies {
//noinspection GradleDynamicVersion
Expand Down

0 comments on commit 666ce0e

Please sign in to comment.