Skip to content

Instantly share code, notes, and snippets.

@canpoyrazoglu
Created August 12, 2019 18:02
Show Gist options
  • Save canpoyrazoglu/ef05f547c0cffcb9782e48b213d4a774 to your computer and use it in GitHub Desktop.
Save canpoyrazoglu/ef05f547c0cffcb9782e48b213d4a774 to your computer and use it in GitHub Desktop.
Build.gradle for tipsi-stripe build error
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
googlePlayServicesVersion = "16.0.0"
firebaseVersion = "17.3.4"
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven {
url "$rootDir/../node_modules/jsc-android/dist"
}
maven { url "https://jitpack.io" }
}
}
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
configurations.all {
resolutionStrategy.force 'io.intercom.android:intercom-sdk-base:5.1.5'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment