Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
rasom committed Mar 27, 2019
1 parent 7684d1d commit af1a7ae
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,34 @@ buildscript {
}
}

subprojects {
/*project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "27.1.1"
}
}
}*/
afterEvaluate {
if (project.hasProperty("android") && true
/*(project.name == 'react-native-config'
|| project.name == 'react-native-dialogs'
|| project.name == 'react-native-http-bridge'
|| project.name == 'react-native-image-crop-picker'
)*/) {
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
targetSdkVersion 28
}
}
}
}
}

allprojects {
repositories {
mavenLocal()
Expand Down
2 changes: 2 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ STATUS_RELEASE_STORE_PASSWORD=password
STATUS_RELEASE_KEY_ALIAS=status
STATUS_RELEASE_KEY_PASSWORD=password

android.enableAapt2=false

org.gradle.jvmargs=-Xmx8704M

0 comments on commit af1a7ae

Please sign in to comment.