Last active
June 7, 2018 17:10
-
-
Save csorlandi/1f2624c4b2c729ce9bd753ce669f9e99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
... | |
google() // Linha Adicionada | |
} | |
dependencies { | |
// Versão modificada de 2.2.3 para 3.1.0 | |
classpath 'com.android.tools.build:gradle:3.1.0' | |
} | |
} | |
allprojects { | |
repositories { | |
... | |
google() // Linha Adicionada | |
maven { url "https://jitpack.io" } // Linha Adicionada | |
maven { | |
url "$rootDir/../node_modules/react-native/android" | |
} | |
} | |
} | |
// Adicionar todo o trecho abaixo | |
subprojects { | |
project.configurations.all { | |
resolutionStrategy.eachDependency { details -> | |
if (details.requested.group == 'com.android.support' | |
&& !details.requested.name.contains('multidex') ) { | |
details.useVersion "26.1.0" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment