feat(android): make android gradle check work

This commit is contained in:
Sibelius Seraphini
2018-04-15 08:02:49 -03:00
parent edc72956f1
commit 1c7f231af4
3 changed files with 3666 additions and 46 deletions
+10 -6
View File
@@ -42,17 +42,21 @@ repositories {
url 'https://maven.google.com'
}
maven { url "https://jitpack.io" }
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
}
dependencies {
def googlePlayServicesVersion = rootProject.hasProperty('googlePlayServicesVersion') ? rootProject.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
def supportLibVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIBRARY_VERSION
compile 'com.facebook.react:react-native:+'
compile "com.google.zxing:core:3.2.1"
compile "com.drewnoakes:metadata-extractor:2.9.1"
compile "com.google.android.gms:play-services-vision:$googlePlayServicesVersion"
compile "com.android.support:exifinterface:$supportLibVersion"
compileOnly 'com.facebook.react:react-native:+'
implementation "com.google.zxing:core:3.2.1"
implementation "com.drewnoakes:metadata-extractor:2.9.1"
implementation "com.google.android.gms:play-services-vision:$googlePlayServicesVersion"
implementation "com.android.support:exifinterface:$supportLibVersion"
compile 'com.github.react-native-community:cameraview:eb9f726215bbbfcc03a54db92e480d4d02e0c001'
implementation 'com.github.react-native-community:cameraview:eb9f726215bbbfcc03a54db92e480d4d02e0c001'
}
+9 -8
View File
@@ -20,14 +20,15 @@
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-react": "^7.3.0",
"eslint-plugin-react-native": "^3.2.0",
"generate-changelog": "1.7.0",
"husky": "^0.14.3",
"idx": "2.2.0",
"lint-staged": "^5.0.0",
"minimist": "1.2.0",
"pre-commit": "^1.2.2",
"prettier": "^1.9.2",
"generate-changelog": "1.7.0",
"simple-git": "1.89.0",
"idx": "2.2.0",
"minimist": "1.2.0"
"react-native": "^0.55.2",
"simple-git": "1.89.0"
},
"homepage": "https://github.com/react-native-community/react-native-camera",
"keywords": [
@@ -48,7 +49,6 @@
]
},
"main": "src/index.js",
"types": "types",
"nativePackage": true,
"pre-commit": "lint:staged",
"repository": {
@@ -60,9 +60,10 @@
"lint": "eslint src",
"lint:staged": "lint-staged",
"prettier": "prettier --write --single-quote true --trailing-comma all --print-width 100",
"release:version": "node ./changelog --version $VERSION && git push origin && git push origin --follow-tags",
"release:major": "node ./changelog --major && npm version major && git push origin && git push origin --follow-tags",
"release:minor": "node ./changelog --minor && npm version minor && git push origin && git push origin --follow-tags",
"release:patch": "node ./changelog --patch && npm version patch && git push origin && git push origin --follow-tags"
}
"release:patch": "node ./changelog --patch && npm version patch && git push origin && git push origin --follow-tags",
"release:version": "node ./changelog --version $VERSION && git push origin && git push origin --follow-tags"
},
"types": "types"
}
+3647 -32
View File
File diff suppressed because it is too large Load Diff